Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions holmes/plugins/prompts/generic_ask.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ If you have a good and concrete suggestion for how the user can fix something, t
If you are unsure about the answer to the user's request or how to satisfy their request, you should gather more information. This can be done by asking the user for more information.
Bias towards not asking the user for help if you can find the answer yourself.

{% include '_current_date_time.jinja2' %}

Use conversation history to maintain continuity when appropriate, ensuring efficiency in your responses.

{% include '_general_instructions.jinja2' %}
Expand Down Expand Up @@ -41,3 +39,5 @@ Validation error led to unhandled Java exception causing a crash.
{% if system_prompt_additions %}
{{ system_prompt_additions }}
{% endif %}

{% include '_current_date_time.jinja2' %}
3 changes: 2 additions & 1 deletion holmes/plugins/prompts/generic_ask_conversation.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Ask for multiple tool calls at the same time as it saves time for the user.
Do not say 'based on the tool output' or explicitly refer to tools at all.
If you output an answer and then realize you need to call more tools or there are possible next steps, you may do so by calling tools at that point in time.
If you have a good and concrete suggestion for how the user can fix something, tell them even if not asked explicitly
{% include '_current_date_time.jinja2' %}

Use conversation history to maintain continuity when appropriate, ensuring efficiency in your responses.

Expand All @@ -31,3 +30,5 @@ Relevant logs:
```

Validation error led to unhandled Java exception causing a crash.

{% include '_current_date_time.jinja2' %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Whenever possible you MUST first use tools to investigate then answer the questi
Ask for multiple tool calls at the same time as it saves time for the user.
Do not say 'based on the tool output' or explicitly refer to tools at all.
If you output an answer and then realize you need to call more tools or there are possible next steps, you may do so by calling tools at that point in time.
{% include '_current_date_time.jinja2' %}

### Context Awareness:
Be aware that this conversation is follow-up questions to a prior investigation conducted for the {{issue}}.
Expand Down Expand Up @@ -49,3 +48,5 @@ Relevant logs:
```

Validation error led to unhandled Java exception causing a crash.

{% include '_current_date_time.jinja2' %}
3 changes: 2 additions & 1 deletion holmes/plugins/prompts/generic_investigation.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Ask for multiple tool calls at the same time as it saves time for the user.
Do not say 'based on the tool output'

Provide an terse analysis of the following {{ issue.source_type }} alert/issue and why it is firing.
* {% include '_current_date_time.jinja2' %}
* If the tool requires string format timestamps, query from 'start_timestamp' until 'end_timestamp'
* If the tool requires timestamps in milliseconds, query from 'start_timestamp' until 'end_timestamp'
* If you need timestamp in string format, query from 'start_timestamp_millis' until 'end_timestamp_millis'
Expand Down Expand Up @@ -41,3 +40,5 @@ Use these rules when deciding how to apply them:
* Remove unnecessary words

{% include 'investigation_output_format.jinja2' %}

{% include '_current_date_time.jinja2' %}
3 changes: 2 additions & 1 deletion holmes/plugins/prompts/kubernetes_workload_ask.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Do not say 'based on the tool output' or explicitly refer to tools at all.
If you output an answer and then realize you need to call more tools or there are possible next steps, you may do so by calling tools at that point in time.

If the user provides you with extra instructions in a triple single quotes section, ALWAYS perform their instructions and then perform your investigation.
{% include '_current_date_time.jinja2' %}

{% include 'investigation_procedure.jinja2' %}

Expand Down Expand Up @@ -76,3 +75,5 @@ Here are issues and configuration changes that happend to this kubernetes worklo
{{ a }}
{% endfor %}
{% endif %}

{% include '_current_date_time.jinja2' %}
3 changes: 2 additions & 1 deletion holmes/plugins/prompts/kubernetes_workload_chat.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ You are a tool-calling AI assist provided with common DevOps and IT tools that y
Whenever possible, you MUST first use tools to investigate, then answer the question.
Do not say 'based on the tool output' or explicitly refer to tools at all.
If you output an answer and then realize you need to call more tools or there are possible next steps, you may do so by calling tools at that point in time.
{% include '_current_date_time.jinja2' %}

### Context Awareness:
Be aware that this conversation is follow-up questions to a prior investigation conducted for the {{resource}}.
Expand Down Expand Up @@ -37,3 +36,5 @@ User: Why did the workload-example app crash?

AI: `workload-example-1299492-d9g9d` crashed due to email validation error during HTTP request for /api/create_user
Relevant logs:

{% include '_current_date_time.jinja2' %}
Loading