From d4abe39d07eea9f27ecb02f212509a78693203c6 Mon Sep 17 00:00:00 2001 From: Kenneth Kreindler Date: Thu, 16 Jan 2025 15:18:44 +0000 Subject: [PATCH] update propmt --- .../graphs/default_assistant_graph/nodes/translations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/nodes/translations.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/nodes/translations.ts index 46af56f3a3773..772961fdb8ef8 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/nodes/translations.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/nodes/translations.ts @@ -10,7 +10,7 @@ const YOU_ARE_A_HELPFUL_EXPERT_ASSISTANT = const IF_YOU_DONT_KNOW_THE_ANSWER = 'Do not answer questions unrelated to Elastic Security.'; export const KNOWLEDGE_HISTORY = 'If available, use the Knowledge History provided to try and answer the question. If not provided, you can try and query for additional knowledge via the KnowledgeBaseRetrievalTool.'; -export const INCLUDE_CITATIONS = `In your response, cite sources using this citation format: \`{{reference()}}\`. Citations appear after the period. Please only use the citations provided by the tools. +export const INCLUDE_CITATIONS = `In your response, cite sources using this citation format: \`{{reference()}}\`. Citations appear after the punctuation marks. Please only use the citations provided by the tools. Example citation: \`\`\` This vulnerability emerged due to issues in Log4j.{{reference(HMCxq)}} This vulnerability impacted various companies running Java services.{{reference(prSit)}}