Class GenerationConfig.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.GenerationConfig.Builder
- Enclosing class:
- GenerationConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuild()imageConfig(ImageConfig imageConfig) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.maxOutputTokens(Integer maxOutputTokens) The maximum number of tokens to include in the response.Seed used in decoding for reproducibility.speechConfig(SpeechConfigUnion speechConfig) Optional.stopSequences(List<String> stopSequences) A list of character sequences that will stop output interaction.thinkingLevel(ThinkingLevel thinkingLevel) thinkingSummaries(ThinkingSummaries thinkingSummaries) toolChoice(ToolChoice toolChoice) The tool choice configuration.transcriptionConfig(TranscriptionConfig transcriptionConfig) Configuration for speech recognition (transcription).videoConfig(VideoConfig videoConfig) Configuration options for video generation.
-
Method Details
-
imageConfig
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The configuration for image interaction. -
maxOutputTokens
The maximum number of tokens to include in the response. -
seed
Seed used in decoding for reproducibility. -
speechConfig
Optional. Speech and multi-speaker configuration. -
stopSequences
A list of character sequences that will stop output interaction. -
thinkingLevel
-
thinkingSummaries
-
toolChoice
The tool choice configuration. -
transcriptionConfig
public GenerationConfig.Builder transcriptionConfig(@Nullable TranscriptionConfig transcriptionConfig) Configuration for speech recognition (transcription). -
videoConfig
Configuration options for video generation. -
build
-