GoogleCloudAiplatformV1GenerationConfig class

Generation config.

Constructors

GoogleCloudAiplatformV1GenerationConfig.new({bool? audioTimestamp, int? candidateCount, double? frequencyPenalty, int? logprobs, int? maxOutputTokens, String? mediaResolution, double? presencePenalty, bool? responseLogprobs, String? responseMimeType, List<String>? responseModalities, GoogleCloudAiplatformV1Schema? responseSchema, GoogleCloudAiplatformV1GenerationConfigRoutingConfig? routingConfig, int? seed, GoogleCloudAiplatformV1SpeechConfig? speechConfig, List<String>? stopSequences, double? temperature, double? topK, double? topP})
GoogleCloudAiplatformV1GenerationConfig.fromJson(Map json_)

Properties

audioTimestamp bool?
If enabled, audio timestamp will be included in the request to the model.
getter/setter pair
candidateCount int?
Number of candidates to generate.
getter/setter pair
frequencyPenalty double?
Frequency penalties.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logprobs int?
Logit probabilities.
getter/setter pair
maxOutputTokens int?
The maximum number of output tokens to generate per message.
getter/setter pair
mediaResolution String?
If specified, the media resolution specified will be used.
getter/setter pair
presencePenalty double?
Positive penalties.
getter/setter pair
responseLogprobs bool?
If true, export the logprobs results in response.
getter/setter pair
responseMimeType String?
Output response mimetype of the generated candidate text.
getter/setter pair
responseModalities List<String>?
The modalities of the response.
getter/setter pair
responseSchema GoogleCloudAiplatformV1Schema?
The Schema object allows the definition of input and output data types.
getter/setter pair
routingConfig GoogleCloudAiplatformV1GenerationConfigRoutingConfig?
Routing configuration.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int?
Seed.
getter/setter pair
speechConfig GoogleCloudAiplatformV1SpeechConfig?
The speech generation config.
getter/setter pair
stopSequences List<String>?
Stop sequences.
getter/setter pair
temperature double?
Controls the randomness of predictions.
getter/setter pair
topK double?
If specified, top-k sampling will be used.
getter/setter pair
topP double?
If specified, nucleus sampling will be used.
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