Interface for the input data required to create an OpenAIAgent.

interface OpenAIAgentInput {
    allowedTools?: string[];
    llmChain: LLMChain<string, LLMType>;
    outputParser: undefined | AgentActionOutputParser;
    tools: StructuredToolInterface<ZodObjectAny>[];
}

Hierarchy (view full)

Properties

allowedTools?: string[]
llmChain: LLMChain<string, LLMType>
outputParser: undefined | AgentActionOutputParser
tools: StructuredToolInterface<ZodObjectAny>[]