Module llm_chain::chains::conversation
source · Expand description
The Chain module models a conversation between an entity and an LLM.
It manages the conversation state and provides methods for sending messages and receiving responses.
It relies on the traits::Executor trait to execute prompts and handle LLM interactions.
Structs
Chainrepresents a conversation between an entity and an LLM.
Enums
- An error type representing various errors that can occur while interacting with the
Chain.