Interface protos.google.ai.generativelanguage.v1beta.IGenerationConfig (2.4.0)

Properties of a GenerationConfig.

Package

@google-ai/generativelanguage

Properties

candidateCount

candidateCount?: (number|null);

GenerationConfig candidateCount

maxOutputTokens

maxOutputTokens?: (number|null);

GenerationConfig maxOutputTokens

responseMimeType

responseMimeType?: (string|null);

GenerationConfig responseMimeType

responseSchema

responseSchema?: (google.ai.generativelanguage.v1beta.ISchema|null);

GenerationConfig responseSchema

stopSequences

stopSequences?: (string[]|null);

GenerationConfig stopSequences

temperature

temperature?: (number|null);

GenerationConfig temperature

topK

topK?: (number|null);

GenerationConfig topK

topP

topP?: (number|null);

GenerationConfig topP