Skip to content

Commit aea9d3c

Browse files
committed
tune cost savings insight prompt
limit it to 500 words
1 parent 05273af commit aea9d3c

File tree

1 file changed

+1
-1
lines changed
  • x-pack/solutions/security/plugins/elastic_assistant/server/lib/prompt

1 file changed

+1
-1
lines changed

x-pack/solutions/security/plugins/elastic_assistant/server/lib/prompt/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export const starterPromptPrompt4 =
333333
'Can you provide examples of questions I can ask about Elastic Security, such as investigating alerts, running ES|QL queries, incident response, or threat intelligence?';
334334

335335
export const costSavingsInsightPart1 = `You are given Elasticsearch Lens aggregation results showing cost savings over time:`;
336-
export const costSavingsInsightPart2 = `Generate a concise bulleted summary in mdx markdown. Follow the style and tone of the example below, highlighting key trends, averages, peaks, and projections:
336+
export const costSavingsInsightPart2 = `Generate a concise bulleted summary in mdx markdown, no more than 500 characters. Follow the style and tone of the example below, highlighting key trends, averages, peaks, and projections:
337337
338338
\`\`\`
339339
- Between July 18 and August 18, daily cost savings **averaged around $135K**

0 commit comments

Comments
 (0)