instrukt.agent.events.AgentEvents

class instrukt.agent.events.AgentEvents(value)[source]

Bases: Enum

An enumeration.

Attributes

LLMStart

LLMNewToken

LLMEnd

LLMError

ChainStart

ChainEnd

ChainError

ToolStart

ToolEnd

ToolError

Text

AgentLoad

AgentAction

AgentFinish

HumanMessage

AgentCancelled

AgentAction = 'agent_action'
AgentCancelled = 'agent_cancelled'
AgentFinish = 'agent_finish'
AgentLoad = 'agent_loaded'
ChainEnd = 'chain_end'
ChainError = 'chain_error'
ChainStart = 'chain_start'
HumanMessage = 'human_message'
LLMEnd = 'llm_end'
LLMError = 'llm_error'
LLMNewToken = 'llm_new_token'
LLMStart = 'llm_start'
Text = 'text'
ToolEnd = 'tool_end'
ToolError = 'tool_error'
ToolStart = 'tool_start'