Skip to content

Semantic cache issue on complex rag chain #10

Description

@pmosconi

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions