From d135fac2d8bcfdad38067d56c3da8bec5e43717f Mon Sep 17 00:00:00 2001 From: Viduni Wickramarachchi Date: Wed, 30 Oct 2024 08:52:30 -0400 Subject: [PATCH] [Obs AI Assistant] Update get_data_on_screen function description (#184214) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Søren Louv-Jansen --- .../server/service/chat_function_client/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/chat_function_client/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/chat_function_client/index.ts index 212870a25fbfc..9fa0f184da784 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/chat_function_client/index.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/chat_function_client/index.ts @@ -56,7 +56,7 @@ export class ChatFunctionClient { this.registerFunction( { name: GET_DATA_ON_SCREEN_FUNCTION_NAME, - description: dedent('Get data that is on the screen'), + description: 'Retrieve the structured data of content currently visible on the user’s screen. Use this tool to understand what the user is viewing at this moment to provide more accurate and context-aware responses to their questions.', visibility: FunctionVisibility.AssistantOnly, parameters: { type: 'object',