Interface for the input data required to create an OpenAIAgent.

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

Hierarchy (view full)

Properties

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

Generated using TypeDoc