-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autofix): Split root cause context extraction and formatting (#898)
Separates the root cause analysis step into the context gathering + root cause deriving agent, then a separate formatting LLM call. Results in a much more reliable root cause analysis. Reduced errors in our eval set of `n=64` from 10 errors to 0. Quality is also improved in other scores as well: _(original run did not have weighted error score at the time)_ <img width="1439" alt="Screenshot 2024-07-13 at 1 14 24 AM" src="https://github.com/user-attachments/assets/595ac5c5-cf2b-40c2-affd-157fd3fa5adb"> <img width="1663" alt="Screenshot 2024-07-13 at 1 14 28 AM" src="https://github.com/user-attachments/assets/9a91a22b-90cc-4d98-805b-0f79fa3d2234"> ## Future Improvements The formatting LLM does not need to be the expensive `gpt4o`, we can use a cheaper model like claude 3 haiku in the near future.
- Loading branch information
Showing
4 changed files
with
246 additions
and
155 deletions.
There are no files selected for viewing
This file contains 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 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 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.