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

Fix assistant failed cases because of change of ml-commons #1109

Closed
wants to merge 10 commits into from
Prev Previous commit
feat: change matching prompt string
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
SuZhou-Joe committed Feb 18, 2024
commit 5a1877fdf76108dcb3c89b2cd4701be66cfea54c
2 changes: 1 addition & 1 deletion cypress/support/assistant-dummy-llm.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ const suggestionJson = require('../fixtures/plugins/dashboards-assistant/suggest
const MATCH_AGENT_FRAMEWORK_PROMPT =
'Assistant is designed to be able to assist with a wide range of tasks';
const MATCH_SUGGESTION_PROMPT = 'You are an AI that only speaks JSON';
const TOOL_RESPONSE = 'TOOL RESPONSE:';
const TOOL_RESPONSE = 'TOOL RESPONSE of ';

const server = http.createServer((req, res) => {
// Set the content type to JSON