interface GeminiGenerationConfig {
    candidateCount?: number;
    frequencyPenalty?: number;
    logprobs?: number;
    maxOutputTokens?: number;
    presencePenalty?: number;
    responseLogprobs?: boolean;
    responseMimeType?: GoogleAIResponseMimeType;
    stopSequences?: string[];
    temperature?: number;
    topK?: number;
    topP?: number;
}

Properties

candidateCount?: number
frequencyPenalty?: number
logprobs?: number
maxOutputTokens?: number
presencePenalty?: number
responseLogprobs?: boolean
responseMimeType?: GoogleAIResponseMimeType
stopSequences?: string[]
temperature?: number
topK?: number
topP?: number