Interface SkeetAIOptions

Configuration options for initializing a SkeetAI instance.

interface SkeetAIOptions {
    ai?: "VertexAI" | "OpenAI";
    maxTokens?: number;
    model?: string;
    temperature?: number;
}

Properties

ai?: "VertexAI" | "OpenAI"

AI platform type (either 'VertexAI' or 'OpenAI'). Default is 'VertexAI'.

maxTokens?: number

Maximum number of tokens to be returned in the response. Default is 1000.

model?: string

Model name to be used by the chosen AI platform. Defaults are 'chat-bison@001' for VertexAI and 'gpt-4' for OpenAI.

temperature?: number

Temperature parameter for the AI platform. Default is 0.2.

Generated using TypeDoc