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
responseJsonSchemaOrdered
responseJsonSchemaOrdered?: (google.protobuf.IValue|null);GenerationConfig responseJsonSchemaOrdered
responseLogprobs
responseLogprobs?: (boolean|null);GenerationConfig responseLogprobs
seed
seed?: (number|null);GenerationConfig seed
stopSequences
stopSequences?: (string[]|null);GenerationConfig stopSequences
temperature
temperature?: (number|null);GenerationConfig temperature
topK
topK?: (number|null);GenerationConfig topK
topP
topP?: (number|null);GenerationConfig topP