langchain
f09f8254 - Expose configuration options in GraphCypherQAChain (#12159)

Commit
2 years ago
Expose configuration options in GraphCypherQAChain (#12159) Allows for passing arguments into the LLM chains used by the GraphCypherQAChain. This is to address a request by a user to include memory in the Cypher creating chain. Will keep the prompt variables as-is to be backward compatible. But, would be a good idea to deprecate them and use the **kwargs variables. Added a test case. In general, I think it would be good for any chain to automatically pass in a readonlymemory(of its input) to its subchains whilist allowing for an override. But, this would be a different change.
Author
Parents
Loading