From 4e428c3073436e9af9a81372f5f072d61f440c63 Mon Sep 17 00:00:00 2001 From: "nastasha.solomon" Date: Mon, 22 Apr 2024 14:45:42 -0400 Subject: [PATCH] First draft --- docs/assistant/security-assistant.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/assistant/security-assistant.asciidoc b/docs/assistant/security-assistant.asciidoc index 3b5c562f6f..5d7d57dffb 100644 --- a/docs/assistant/security-assistant.asciidoc +++ b/docs/assistant/security-assistant.asciidoc @@ -177,13 +177,16 @@ The *Show anonymized* toggle controls whether you see the obfuscated or plaintex [discrete] [[ai-assistant-knowledge-base]] === Knowledge base -beta::["Do not use {esql} on production environments. This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features."] +beta::[] The **Knowledge base** tab of the AI Assistant settings menu allows you to enable AI Assistant to answer questions about the Elastic Search Query Language ({esql}), and about alerts in your environment. [discrete] [[rag-for-esql]] ==== Knowledge base for {esql} + +IMPORTANT: {esql} queries generated by AI Assistant might require additional validation. To ensure they're correct, refer to the {ref}/esql-language.html[{esql} documentation]. + When this feature is enabled, AI Assistant can help you write an {esql} query for a particular use case, or answer general questions about {esql} syntax and usage. To enable AI Assistant to answer questions about {esql}: . Enable the Elastic Learned Sparse EncodeR (ELSER). This model provides additional context to the third-party LLM. To learn more, refer to {ml-docs}/ml-nlp-elser.html#download-deploy-elser[Configure ELSER].