Skip to content

Semantic cache issue on complex rag chain #10

@pmosconi

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

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