Interface for the input data required to create an OpenAIAgent.

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

Hierarchy (view full)

Properties

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

Generated using TypeDoc