This cache key should be consistent across all versions of LangChain.
It is currently NOT consistent across versions of LangChain.
A huge benefit of having a remote cache (like redis) is that you can
access the cache from different processes/machines. The allows you to
separate concerns and scale horizontally.
TODO: Make cache key consistent across versions of LangChain.
Deprecated
Use makeDefaultKeyEncoder() to create a custom key encoder.
This function will be removed in a future version.
This cache key should be consistent across all versions of LangChain. It is currently NOT consistent across versions of LangChain.
A huge benefit of having a remote cache (like redis) is that you can access the cache from different processes/machines. The allows you to separate concerns and scale horizontally.
TODO: Make cache key consistent across versions of LangChain.
Deprecated
Use
makeDefaultKeyEncoder()
to create a custom key encoder. This function will be removed in a future version.