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

[Backport 2.x] feat: set verbose to false #133

Merged
merged 1 commit into from
Feb 5, 2024
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
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