You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconstBEDROCK_SYSTEM_PROMPT=`${DEFAULT_SYSTEM_PROMPT} Use tools as often as possible, as they have access to the latest data and syntax. Never return <thinking> tags in the response, but make sure to include <result> tags content in the response. Do not reflect on the quality of the returned search results in your response. ALWAYS return the exact response from NaturalLanguageESQLTool verbatim in the final response, without adding further description.`;
18
+
exportconstBEDROCK_SYSTEM_PROMPT=`${DEFAULT_SYSTEM_PROMPT}\n\nUse tools as often as possible, as they have access to the latest data and syntax. Never return <thinking> tags in the response, but make sure to include <result> tags content in the response. Do not reflect on the quality of the returned search results in your response. ALWAYS return the exact response from NaturalLanguageESQLTool verbatim in the final response, without adding further description.\n\n Ensure that the final response always includes all instructions from the tool responses. Never omit earlier parts of the response.`;
19
19
exportconstGEMINI_USER_PROMPT=`Now, always using the tools at your disposal, step by step, come up with a response to this request:\n\n`;
20
20
21
21
exportconstSTRUCTURED_SYSTEM_PROMPT=`Respond to the human as helpfully and accurately as possible. ${KNOWLEDGE_HISTORY}${INCLUDE_CITATIONS} You have access to the following tools:
'A short, no more than 7 words, title for the insight, NOT formatted with special syntax or markdown. This must be as brief as possible.';
138
138
exportconstATTACK_DISCOVERY_GENERATION_INSIGHTS=`Insights with markdown that always uses special ${SYNTAX} syntax for field names and values from the source data. ${GOOD_SYNTAX_EXAMPLES}${BAD_SYNTAX_EXAMPLES}`;
139
139
140
-
exportconstBEDROCK_CHAT_TITLE=`You are a helpful assistant for Elastic Security. Assume the following user message is the start of a conversation between you and a user; give this conversation a title based on the content below. DO NOT UNDER ANY CIRCUMSTANCES wrap this title in single or double quotes. This title is shown in a list of conversations to the user, so title it for the user, not for you. Respond with the title only with no other text explaining your response. As an example, for the given MESSAGE, this is the TITLE:
140
+
exportconstBEDROCK_CHAT_TITLE=`You are a strictly rule-following assistant for Elastic Security.
141
+
Your task is to ONLY generate a short, user-friendly title based on the given user message.
141
142
142
-
MESSAGE: I am having trouble with the Elastic Security app.
Final Rule: If you include anything other than the title, you have failed this task.`;
145
154
146
155
exportconstGEMINI_CHAT_TITLE=`You are a title generator for a helpful assistant for Elastic Security. Assume the following human message is the start of a conversation between you and a human. Generate a relevant conversation title for the human's message in plain text. Make sure the title is formatted for the user, without using quotes or markdown. The title should clearly reflect the content of the message and be appropriate for a list of conversations. Respond only with the title. As an example, for the given MESSAGE, this is the TITLE:
0 commit comments