Interface protos.google.ai.generativelanguage.v1beta.IGenerateTextRequest (2.6.0)

Properties of a GenerateTextRequest.

Package

@google-ai/generativelanguage

Properties

candidateCount

candidateCount?: (number|null);

GenerateTextRequest candidateCount

maxOutputTokens

maxOutputTokens?: (number|null);

GenerateTextRequest maxOutputTokens

model

model?: (string|null);

GenerateTextRequest model

prompt

prompt?: (google.ai.generativelanguage.v1beta.ITextPrompt|null);

GenerateTextRequest prompt

safetySettings

safetySettings?: (google.ai.generativelanguage.v1beta.ISafetySetting[]|null);

GenerateTextRequest safetySettings

stopSequences

stopSequences?: (string[]|null);

GenerateTextRequest stopSequences

temperature

temperature?: (number|null);

GenerateTextRequest temperature

topK

topK?: (number|null);

GenerateTextRequest topK

topP

topP?: (number|null);

GenerateTextRequest topP