From f54af023637f08aac31da0e5b01fce97a1d5181d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Thu, 4 Jul 2024 23:37:51 +0200 Subject: [PATCH] Improve description --- .../observability_ai_assistant/server/functions/summarize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/summarize.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/summarize.ts index d41010713d5a0..169249c067bed 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/summarize.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/summarize.ts @@ -44,7 +44,7 @@ export function registerSummarizationFunction({ }, type: { type: 'string', - description: `The type can be: "user_instruction" or "contextual". "user_instruction": the entry will be included in the system message if it fits within the token budget and it will be marked as a user instruction. "contextual": the entry will be included if it semantically matches the user's prompt. If matching it will be included as part of the context instead of the system prompt`, + description: `The type can be: "user_instruction" or "contextual". A "user_instruction" entry will be included in the system message if it fits within the token budget and it will be marked as a user instruction. A "contextual" entry will be included as part of the context function response (and not the system message) if it semantically matches the user's prompt.`, enum: [KnowledeBaseType.UserInstruction, KnowledeBaseType.Contextual], }, confidence: {