Skip to content
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

Add rag #9

Merged
merged 9 commits into from
Oct 7, 2024
Merged

Add rag #9

merged 9 commits into from
Oct 7, 2024

Conversation

robertmcleod2
Copy link
Owner

@robertmcleod2 robertmcleod2 commented Oct 7, 2024

Adding RAG to chain. On every query the chain will retrieve documents relevant to the query and chat history and use them as context in it's answer to the question.

Future improvements could include supplying the RAG as a tool so the chain can decide to use the agent to retrieve context or not, rather than always doing it.

@robertmcleod2 robertmcleod2 merged commit a88131e into main Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant