Skip to content

Why does RAG agent example from Getting Started seem to stop retrieving any context from documents? #995

Answered by hardikjshah
booxter asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for raising this, its because we update the same faiss index ( vector db ) with the same document chunks. Which means eventually, when we ask for context -- we get the same chunk again and again and that might be completely messing up the model response.

#998 fixes this.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hardikjshah
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants