GoogleCloudDialogflowV2InferenceParameter class
The parameters of inference.
Constructors
- GoogleCloudDialogflowV2InferenceParameter({int? maxOutputTokens, double? temperature, int? topK, double? topP})
- GoogleCloudDialogflowV2InferenceParameter.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxOutputTokens ↔ int?
-
Maximum number of the output tokens for the generator.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temperature ↔ double?
-
Controls the randomness of LLM predictions.
getter/setter pair
- topK ↔ int?
-
Top-k changes how the model selects tokens for output.
getter/setter pair
- topP ↔ double?
-
Top-p changes how the model selects tokens for output.
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