From 9794d2250f3c26547357db08c9770134d376dc9d Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 5 Feb 2024 10:42:20 +0800 Subject: [PATCH 1/2] feat: set verbose to false Signed-off-by: SuZhou-Joe --- server/services/chat/olly_chat_service.test.ts | 8 ++++---- server/services/chat/olly_chat_service.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/server/services/chat/olly_chat_service.test.ts b/server/services/chat/olly_chat_service.test.ts index a81ce7a5..333e50ae 100644 --- a/server/services/chat/olly_chat_service.test.ts +++ b/server/services/chat/olly_chat_service.test.ts @@ -80,7 +80,7 @@ describe('OllyChatService', () => { "parameters": Object { "memory_id": "conversationId", "question": "content", - "verbose": true, + "verbose": false, }, }, "method": "POST", @@ -176,7 +176,7 @@ describe('OllyChatService', () => { "parameters": Object { "memory_id": "conversationId", "regenerate_interaction_id": "interactionId", - "verbose": true, + "verbose": false, }, }, "method": "POST", @@ -294,7 +294,7 @@ describe('OllyChatService', () => { "body": Object { "parameters": Object { "question": "content", - "verbose": true, + "verbose": false, }, }, "method": "POST", @@ -316,7 +316,7 @@ describe('OllyChatService', () => { "body": Object { "parameters": Object { "question": "content", - "verbose": true, + "verbose": false, }, }, "method": "POST", diff --git a/server/services/chat/olly_chat_service.ts b/server/services/chat/olly_chat_service.ts index 4458d90c..aa3f871a 100644 --- a/server/services/chat/olly_chat_service.ts +++ b/server/services/chat/olly_chat_service.ts @@ -146,7 +146,7 @@ export class OllyChatService implements ChatService { const parametersPayload: Pick = { question: input.content, - verbose: true, + verbose: false, }; if (conversationId) { @@ -167,7 +167,7 @@ export class OllyChatService implements ChatService { > = { memory_id: conversationId, regenerate_interaction_id: interactionId, - verbose: true, + verbose: false, }; return await this.requestAgentRun(parametersPayload); From 43b0a2769c64da878eaaa381648a6bd6a043caaa Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 5 Feb 2024 11:10:28 +0800 Subject: [PATCH 2/2] feat: update doc Signed-off-by: SuZhou-Joe --- CHANGELOG.md | 1 + release-notes/dashboards-assistant.release-notes-2.12.0.0.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f57ca14..3f845c05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,3 +8,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Change implementation of basic_input_output to built-in parser ([#10](https://github.com/opensearch-project/dashboards-assistant/pull/10)) - Add interactions into ChatState and pass specific interaction into message_bubble ([#12](https://github.com/opensearch-project/dashboards-assistant/pull/12)) - Refactor the code to get root agent id by calling the API in ml-commons plugin ([#128](https://github.com/opensearch-project/dashboards-assistant/pull/128)) +- Set verbose to false ([#131](https://github.com/opensearch-project/dashboards-assistant/pull/131)) diff --git a/release-notes/dashboards-assistant.release-notes-2.12.0.0.md b/release-notes/dashboards-assistant.release-notes-2.12.0.0.md index 808cb440..c3b6666b 100644 --- a/release-notes/dashboards-assistant.release-notes-2.12.0.0.md +++ b/release-notes/dashboards-assistant.release-notes-2.12.0.0.md @@ -10,3 +10,6 @@ Compatible with OpenSearch and OpenSearch Dashboards Version 2.12.0 - Add regenerating interaction ([#58](https://github.com/opensearch-project/dashboards-assistant/pull/58))([11e5779](https://github.com/opensearch-project/dashboards-assistant/commit/11e5779)) - Support give feedback on interaction ([9c6cb29](https://github.com/opensearch-project/dashboards-assistant/commit/9c6cb29))([4ff6726](https://github.com/opensearch-project/dashboards-assistant/commit/4ff6726)) - Support save conversation to notebook ([3010362](https://github.com/opensearch-project/dashboards-assistant/commit/3010362))([#93](https://github.com/opensearch-project/dashboards-assistant/pull/93)) + +### Feature +- Set verbose to false ([#131](https://github.com/opensearch-project/dashboards-assistant/pull/131)) \ No newline at end of file