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
logprobs
logprobs?: (number|null);
GenerationConfig logprobs
maxOutputTokens
maxOutputTokens?: (number|null);
GenerationConfig maxOutputTokens
presencePenalty
presencePenalty?: (number|null);
GenerationConfig presencePenalty
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
speechConfig
speechConfig?: (google.ai.generativelanguage.v1beta.ISpeechConfig|null);
GenerationConfig speechConfig
stopSequences
stopSequences?: (string[]|null);
GenerationConfig stopSequences
temperature
temperature?: (number|null);
GenerationConfig temperature
topK
topK?: (number|null);
GenerationConfig topK
topP
topP?: (number|null);
GenerationConfig topP