Home > @google/generative-ai > GenerationConfig
Config options for content-related requests
Signature:
export interface GenerationConfig
Property | Modifiers | Type | Description |
---|---|---|---|
candidateCount? | number | (Optional) | |
maxOutputTokens? | number | (Optional) | |
stopSequences? | string[] | (Optional) | |
temperature? | number | (Optional) | |
topK? | number | (Optional) | |
topP? | number | (Optional) |