Interface for AI21 input parameters.

interface AI21Input {
    ai21ApiKey?: string;
    baseUrl?: string;
    countPenalty?: AI21PenaltyData;
    frequencyPenalty?: AI21PenaltyData;
    logitBias?: Record<string, number>;
    maxTokens?: number;
    minTokens?: number;
    model?: string;
    numResults?: number;
    presencePenalty?: AI21PenaltyData;
    stop?: string[];
    temperature?: number;
    topP?: number;
}

Hierarchy (view full)

Implemented by

Properties

ai21ApiKey?: string
baseUrl?: string
countPenalty?: AI21PenaltyData
frequencyPenalty?: AI21PenaltyData
logitBias?: Record<string, number>
maxTokens?: number
minTokens?: number
model?: string
numResults?: number
presencePenalty?: AI21PenaltyData
stop?: string[]
temperature?: number
topP?: number
""