Thanks to visit codestin.com Credit goes to reference.langchain.com
Ask a question to get started
Enter to send•Shift+Enter new line
Configuration for caching nodes.
CachePolicy( self, *, key_func: KeyFuncT = default_cache_key, ttl: int | None = None )
Generic[KeyFuncT]
Function to generate a cache key from the node's input. Defaults to hashing the input with pickle.
Time to live for the cache entry in seconds. If None, the entry never expires.
None