Callback Handler streams to stdout on new llm token.
Base callback handler.
Represents a request to execute an action by an agent.
The action consists of the name of the tool to execute and the input to pass to the tool. The log is used to pass along extra information about the action.
Final return value of an ActionAgent.
Agents return an AgentFinish when they have reached a stopping condition.
Base abstract message class.
Messages are the inputs and outputs of a chat model.
Examples include HumanMessage,
AIMessage, and
SystemMessage.
A container for results of an LLM call.
Both chat models and LLMs generate an LLMResult object. This object contains the
generated outputs and any additional information that the model provider wants to
return.
Callback handler for streaming.