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

Semantic cache issue on complex rag chain #10

Open
pmosconi opened this issue May 5, 2024 · 0 comments
Open

Semantic cache issue on complex rag chain #10

pmosconi opened this issue May 5, 2024 · 0 comments

Comments

@pmosconi
Copy link

pmosconi commented May 5, 2024

Hi,
I am following notebooks/rag/mongodb-langchain-cache-memory.ipynb
and I have an issue when activating semantic cache for the complete RAG chain: the system always returns the answer to the first question that has been cached.
Why is this happening?
The notebook, in fact, applies the cache only to the simplified RAG chain, but it doesn't explain why the full chain won't work with it.
Thanks

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

No branches or pull requests

1 participant