Ask a question to get started
Enter to send•Shift+Enter new line
EmbeddingRouterChain()
RouterChain
The keys to use for the output.
Route inputs to a destination chain.
Optional memory object.
[DEPRECATED] Use callbacks instead.
callbacks
Raise deprecation warning if callback_manager is used.
Will be whatever keys the LLM chain prompt expects.
Convenience constructor.
Chain that uses embeddings to route between options.
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.