Add support for retrieval-augmented generation#31
Open
willcrichton wants to merge 2 commits into
Open
Conversation
1a5c007 to
cea4f22
Compare
17a8bd4 to
eacb841
Compare
cea4f22 to
3193351
Compare
a1337f9 to
dae2a65
Compare
64c7caf to
bdf2e16
Compare
1bbbf1c to
3f5a7aa
Compare
0def307 to
2e3a845
Compare
3f5a7aa to
4f0ce5b
Compare
4f0ce5b to
346dee7
Compare
2e3a845 to
0980cbf
Compare
346dee7 to
4c52330
Compare
1bb0be7 to
67e29cc
Compare
4c52330 to
770753b
Compare
770753b to
c177788
Compare
67e29cc to
0027f19
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Makes two changes to the chatbot API:
retrieval_documentsmethods which returns a vector of paths to retrieve from given the current conversation context.docsparameter toquery_chatwhich should take the content of the documents specified byretrieval_documents.