GoogleCloudAiplatformV1GenerationConfig class

Generation config.

Constructors

GoogleCloudAiplatformV1GenerationConfig({int? candidateCount, int? maxOutputTokens, List<String>? stopSequences, double? temperature, double? topK, double? topP})
GoogleCloudAiplatformV1GenerationConfig.fromJson(Map json_)

Properties

candidateCount int?
Number of candidates to generate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxOutputTokens int?
The maximum number of output tokens to generate per message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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