Properties of a GenerationConfig.
Package
@google-ai/generativelanguageProperties
candidateCount
candidateCount?: (number|null);GenerationConfig candidateCount
enableEnhancedCivicAnswers
enableEnhancedCivicAnswers?: (boolean|null);GenerationConfig enableEnhancedCivicAnswers
frequencyPenalty
frequencyPenalty?: (number|null);GenerationConfig frequencyPenalty
imageConfig
imageConfig?: (google.ai.generativelanguage.v1beta.IImageConfig|null);GenerationConfig imageConfig
logprobs
logprobs?: (number|null);GenerationConfig logprobs
maxOutputTokens
maxOutputTokens?: (number|null);GenerationConfig maxOutputTokens
mediaResolution
mediaResolution?: (google.ai.generativelanguage.v1beta.GenerationConfig.MediaResolution|keyof typeof google.ai.generativelanguage.v1beta.GenerationConfig.MediaResolution|null);GenerationConfig mediaResolution
presencePenalty
presencePenalty?: (number|null);GenerationConfig presencePenalty
responseJsonSchema
responseJsonSchema?: (google.protobuf.IValue|null);GenerationConfig responseJsonSchema
responseJsonSchemaOrdered
responseJsonSchemaOrdered?: (google.protobuf.IValue|null);GenerationConfig responseJsonSchemaOrdered
responseLogprobs
responseLogprobs?: (boolean|null);GenerationConfig responseLogprobs
responseMimeType
responseMimeType?: (string|null);GenerationConfig responseMimeType
responseModalities
responseModalities?: (google.ai.generativelanguage.v1beta.GenerationConfig.Modality[]|null);GenerationConfig responseModalities
responseSchema
responseSchema?: (google.ai.generativelanguage.v1beta.ISchema|null);GenerationConfig responseSchema
seed
seed?: (number|null);GenerationConfig seed
speechConfig
speechConfig?: (google.ai.generativelanguage.v1beta.ISpeechConfig|null);GenerationConfig speechConfig
stopSequences
stopSequences?: (string[]|null);GenerationConfig stopSequences
temperature
temperature?: (number|null);GenerationConfig temperature
thinkingConfig
thinkingConfig?: (google.ai.generativelanguage.v1beta.IThinkingConfig|null);GenerationConfig thinkingConfig
topK
topK?: (number|null);GenerationConfig topK
topP
topP?: (number|null);GenerationConfig topP