Ask a question to get started
Enter to send•Shift+Enter new line
MultiRetrievalQAChain()
MultiRouteChain
If True, use default_chain when an invalid destination name is provided.
True
Optional memory object.
[DEPRECATED] Use callbacks instead.
callbacks
Raise deprecation warning if callback_manager is used.
Chain for deciding a destination chain and the input to it.
Map of name to candidate chains that inputs can be routed to.
Default chain to use when router doesn't map input to one of the destinations.
Create a multi retrieval qa chain from an LLM and a default chain.
Multi Retrieval QA Chain.
A multi-route chain that uses an LLM router chain to choose amongst retrieval qa chains.
Set the chain verbosity.
Asynchronously execute the chain.
Validate and prepare chain outputs, and save info about this run to memory.
Prepare chain inputs, including adding inputs from memory.
Convenience method for executing chain.
Return dictionary representation of agent.
Save the agent.
Utilize the LLM generate method for speed gains.