diff --git a/x-pack/plugins/observability_ai_assistant/server/functions/context.ts b/x-pack/plugins/observability_ai_assistant/server/functions/context.ts index d255397d21c6c6..9efa69ca81bd80 100644 --- a/x-pack/plugins/observability_ai_assistant/server/functions/context.ts +++ b/x-pack/plugins/observability_ai_assistant/server/functions/context.ts @@ -214,7 +214,7 @@ async function scoreSuggestions({ const newUserMessageContent = dedent(`Given the following question, score the documents that are relevant to the question. on a scale from 0 to 7, - 0 being completely relevant, and 7 being extremely relevant. Information is relevant to the question if it helps in + 0 being completely irrelevant, and 7 being extremely relevant. Information is relevant to the question if it helps in answering the question. Judge it according to the following criteria: - The document is relevant to the question, and the rest of the conversation