Interface for the input parameters of the AutoGPTPrompt class.

interface AutoGPTPromptInput {
    aiName: string;
    aiRole: string;
    tokenCounter: ((text) => Promise<number>);
    tools: StructuredTool[];
    sendTokenLimit?: number;
}

Implemented by

Properties

aiName: string
aiRole: string
tokenCounter: ((text) => Promise<number>)

Type declaration

    • (text): Promise<number>
    • Parameters

      • text: string

      Returns Promise<number>

tools: StructuredTool[]
sendTokenLimit?: number

Generated using TypeDoc