-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: much improved RAG, added LLM post-processing of results (#435)
* fix: support new gptme-rag arg --format * fix: only run rag on last user message, not all * feat: make RagConfig class for typed rag config * feat(rag): enable post-processing of context with LLM * feat: use --print-relevance flag on rag_search * fix(rag): use print-relevance when not post-processing * feat(rag): add config params workspace_only and paths * fix: better loading of typed ragconfig * refactor(rag): move get rag context to function * fix: use `--score` instead of old `--print-relevance` --------- Co-authored-by: Erik Bjäreholt <erik.bjareholt@gmail.com>
- Loading branch information
Showing
3 changed files
with
134 additions
and
33 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