Interface AgentState<StructuredResponseType>

interface AgentState<StructuredResponseType> {
    messages: BaseMessage[];
    structuredResponse: StructuredResponseType;
}

Type Parameters

  • StructuredResponseType extends Record<string, any> = Record<string, any>

Properties

messages: BaseMessage[]
structuredResponse: StructuredResponseType