Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set verbose to false #131

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Original file line number Diff line number Diff line change
Expand Up @@ -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))
8 changes: 4 additions & 4 deletions server/services/chat/olly_chat_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('OllyChatService', () => {
"parameters": Object {
"memory_id": "conversationId",
"question": "content",
"verbose": true,
"verbose": false,
},
},
"method": "POST",
Expand Down Expand Up @@ -176,7 +176,7 @@ describe('OllyChatService', () => {
"parameters": Object {
"memory_id": "conversationId",
"regenerate_interaction_id": "interactionId",
"verbose": true,
"verbose": false,
},
},
"method": "POST",
Expand Down Expand Up @@ -294,7 +294,7 @@ describe('OllyChatService', () => {
"body": Object {
"parameters": Object {
"question": "content",
"verbose": true,
"verbose": false,
},
},
"method": "POST",
Expand All @@ -316,7 +316,7 @@ describe('OllyChatService', () => {
"body": Object {
"parameters": Object {
"question": "content",
"verbose": true,
"verbose": false,
},
},
"method": "POST",
Expand Down
4 changes: 2 additions & 2 deletions server/services/chat/olly_chat_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class OllyChatService implements ChatService {

const parametersPayload: Pick<AgentRunPayload, 'question' | 'verbose' | 'memory_id'> = {
question: input.content,
verbose: true,
verbose: false,
};

if (conversationId) {
Expand All @@ -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);
Expand Down
Loading