LiveGenerationConfig class final

Configuration options for live content generation.

Constructors

LiveGenerationConfig({SpeechConfig? speechConfig, AudioTranscriptionConfig? inputAudioTranscription, AudioTranscriptionConfig? outputAudioTranscription, ContextWindowCompressionConfig? contextWindowCompression, RealtimeInputConfig? realtimeInputConfig, List<ResponseModalities>? responseModalities, int? maxOutputTokens, double? temperature, double? topP, int? topK, double? presencePenalty, double? frequencyPenalty, MediaResolution? mediaResolution})

Properties

contextWindowCompression → ContextWindowCompressionConfig?
The context window compression configuration.
final
frequencyPenalty → double?
Frequency penalty.
final
hashCode → int
The hash code for this object.
no setterinherited
inputAudioTranscription → AudioTranscriptionConfig?
The transcription of the input aligns with the input audio language.
final
maxOutputTokens → int?
The maximum number of tokens to include in a candidate.
final
mediaResolution → MediaResolution?
The media resolution for input images and video.
final
outputAudioTranscription → AudioTranscriptionConfig?
The transcription of the output aligns with the language code specified for the output audio.
final
presencePenalty → double?
Presence penalty.
final
realtimeInputConfig → RealtimeInputConfig?
The realtime input configuration for voice activity detection and handling.
final
responseModalities → List<ResponseModalities>?
The list of desired response modalities.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speechConfig → SpeechConfig?
The speech configuration.
final
temperature → double?
Controls the randomness of the output.
final
topK → int?
The maximum number of tokens to consider when sampling.
final
topP → double?
The maximum cumulative probability of tokens to consider when sampling.
final

Methods

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

Operators

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