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

Properties of a GenerationConfig.

Package

@google-ai/generativelanguage

Properties

candidateCount

candidateCount?: (number|null);

GenerationConfig candidateCount

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

stopSequences

stopSequences?: (string[]|null);

GenerationConfig stopSequences

temperature

temperature?: (number|null);

GenerationConfig temperature

topK

topK?: (number|null);

GenerationConfig topK

topP

topP?: (number|null);

GenerationConfig topP