GoogleCloudAiplatformV1GenerationConfig class
Generation config.
Constructors
-
GoogleCloudAiplatformV1GenerationConfig({int? candidateCount, double? frequencyPenalty, int? maxOutputTokens, double? presencePenalty, String? responseMimeType, GoogleCloudAiplatformV1Schema? responseSchema, List<
String> ? stopSequences, double? temperature, double? topK, double? topP}) - GoogleCloudAiplatformV1GenerationConfig.fromJson(Map json_)
Properties
- 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
- maxOutputTokens ↔ int?
-
The maximum number of output tokens to generate per message.
getter/setter pair
- presencePenalty ↔ double?
-
Positive penalties.
getter/setter pair
- responseMimeType ↔ String?
-
Output response mimetype of the generated candidate text.
getter/setter pair
- responseSchema ↔ GoogleCloudAiplatformV1Schema?
-
The
Schema
object allows the definition of input and output data types.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