Repository navigation
Improve HolmesGPT accuracy on questions about itself, configuring tools, and using runbooks #729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
36a4af1
don't leak information in eval 20
aantn f9d670a
make evals 26 reproducible
aantn f72fe03
don't leak information in eval 26
aantn ca6eac6
fixes
aantn 6be17da
more eval fixes
aantn 3e53331
update eval tags after running all easy evals 20x
aantn d13a784
add evals summary table to pytest output + fail evals if setup fails
aantn 7751565
Merge branch 'master' into fix-more-evals
aantn 4a237f0
add eval docs
aantn c28008e
fixes to specific evals and tags
aantn afbf483
fix bug with environment variables in evals
aantn c9482e7
minor changes to mocking toolsets
aantn 9518c9d
fix evals
aantn 1c301f1
report test failures
aantn b150027
Update test_case.yaml
aantn 7c37059
Update setup_cleanup.py
aantn 234aa0b
WIP
aantn c576dad
improvements and bugfixes to evals framework
aantn d2a9753
mark eval as skipped
aantn b1f5fd9
only run regression evals in CI/CD
aantn 92593b4
fix for ci/cd
aantn 5fb6536
merge
aantn dc7db2c
Update tracing.py
aantn 7934989
Merge branch 'eval-fixes3' into improve-transparency
aantn bf0e293
Merge branch 'master' into improve-transparency
aantn 266342c
Merge branch 'master' into improve-transparency
aantn c09b94a
improve transparency around using runbooks
aantn 4ac208d
evals + claude.md tweaks
aantn 657255c
Update pyproject.toml
aantn 236041d
Merge branch 'master' into improve-transparency
aantn 0eb9f37
Merge branch 'master' into improve-transparency
aantn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Handling Permission Errors | ||
|
aantn marked this conversation as resolved.
Resolved
|
||
|
|
||
| If during the investigation you encounter a permissions error (e.g., `Error from server (Forbidden):`), **ALWAYS** follow these steps to ensure a thorough resolution: | ||
| 1. Analyze the Error Message: Identify the missing resource, API group, and verbs from the error details. | ||
| 2. Check which user/service account you're running with and what permissions it has | ||
| 3. Report this to the user and refer them to https://robusta-dev.github.io/holmesgpt/data-sources/permissions/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,21 @@ | ||
| {% if runbooks and runbooks.catalog|length > 0 %} | ||
| # Runbook Selection | ||
|
|
||
| ## Available Runbooks | ||
| You (HolmesGPT) have access to a set of runbooks that provide step-by-step troubleshooting instructions for various known issues. | ||
|
aantn marked this conversation as resolved.
Resolved
|
||
| If one of the following runbooks relates to the user's issue, you MUST fetch it with the fetch_runbook tool. | ||
|
aantn marked this conversation as resolved.
Resolved
|
||
|
|
||
| ## Available Runbooks for fetch_runbook tool | ||
| {% for runbook in runbooks.catalog %} | ||
| ### description: {{ runbook.description }} | ||
| link: {{ runbook.link }} | ||
| {% endfor %} | ||
| ALWAYS try to find the runbooks that can provide troubleshooting instructions when the user describes an operational issue, debugging scenario, or asks for step‑by‑step troubleshooting. | ||
| To get the runbook details, use `fetch_runbook` tool by comparing the runbook description with the user prompt. | ||
| ALWAYS follow the steps described in the runbook. | ||
| If you decided not to follow one or more steps, ALWAYS explain why. | ||
|
|
||
| If there is a runbook that MIGHT match the user's issue, you MUST: | ||
| 1. Fetch the runbook with the `fetch_runbook` tool. | ||
| 2. Decide based on the runbook's contents if it is relevant or not. | ||
| 3. If it seems relevant, inform the user that you accesses a runbook and will use it to troubleshoot the issue. | ||
| 4. To the maximum extent possible, follow the runbook instructions step-by-step. | ||
| 5. Provide a detailed report of the steps you performed, including any findings or errors encountered. | ||
| 6. If a runbook step requires tools or integrations you don't have access to tell the user that you cannot perform that step due to missing tools. | ||
|
|
||
| {%- endif -%} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.