Interface for the input parameters of the AutoGPTPrompt class.

interface AutoGPTPromptInput {
    aiName: string;
    aiRole: string;
    tokenCounter: ((text) => Promise<number>);
    tools: ObjectTool[];
    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: ObjectTool[]
sendTokenLimit?: number

Generated using TypeDoc