Interface protos.google.ai.generativelanguage.v1.IGenerationConfig (3.7.0)

Properties of a GenerationConfig.

Package

@google-ai/generativelanguage

Properties

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