GoogleCloudDialogflowCxV3GeneratorModelParameter class
Parameters to be passed to the LLM.
If not set, default values will be used.
Constructors
- GoogleCloudDialogflowCxV3GeneratorModelParameter.new({int? maxDecodeSteps, double? temperature, int? topK, double? topP})
- GoogleCloudDialogflowCxV3GeneratorModelParameter.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDecodeSteps ↔ int?
-
The maximum number of tokens to generate.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temperature ↔ double?
-
The temperature used for sampling.
getter/setter pair
- topK ↔ int?
-
If set, the sampling process in each step is limited to the top_k tokens
with highest probabilities.
getter/setter pair
- topP ↔ double?
-
If set, only the tokens comprising the top top_p probability mass are
considered.
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