GenaiVertexV1GenerationConfig class

Configuration parameters for model interactions.

Constructors

GenaiVertexV1GenerationConfig({int? maxOutputTokens, int? seed, List<String>? stopSequences, GenaiVertexV1SpeakerConfig? structuredSpeechConfig, double? temperature, String? thinkingLevel, String? thinkingSummaries, GenaiVertexV1ToolChoiceConfig? toolChoiceConfig, String? toolChoiceMode, double? topP, GenaiVertexV1TranscriptionConfig? transcriptionConfig, GenaiVertexV1VideoConfig? videoConfig})
GenaiVertexV1GenerationConfig.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxOutputTokens ↔ int?
The maximum number of tokens to include in the response.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed ↔ int?
Seed used in decoding for reproducibility.
getter/setter pair
stopSequences ↔ List<String>?
A list of character sequences that will stop output interaction.
getter/setter pair
structuredSpeechConfig ↔ GenaiVertexV1SpeakerConfig?
Speech and multi-speaker configuration.
getter/setter pair
temperature ↔ double?
Controls the randomness of the output.
getter/setter pair
thinkingLevel ↔ String?
The level of thought tokens that the model should generate. Possible string values are:
getter/setter pair
thinkingSummaries ↔ String?
Whether to include thought summaries in the response. Possible string values are:
getter/setter pair
toolChoiceConfig ↔ GenaiVertexV1ToolChoiceConfig?
The config for the tool choice.
getter/setter pair
toolChoiceMode ↔ String?
The mode of the tool choice. Possible string values are:
getter/setter pair
topP ↔ double?
The maximum cumulative probability of tokens to consider when sampling.
getter/setter pair
transcriptionConfig ↔ GenaiVertexV1TranscriptionConfig?
Configuration for speech recognition (transcription).
getter/setter pair
videoConfig ↔ GenaiVertexV1VideoConfig?
Configuration for video generation.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited