AgentPromptVariantInferenceConfigurationText class

Constructors

AgentPromptVariantInferenceConfigurationText({Input<int?>? maxTokens, Input<List<String>?>? stopSequences, Input<double?>? temperature, Input<double?>? topP})
Creates a new AgentPromptVariantInferenceConfigurationText. maxTokens Maximum number of tokens to return in the response. stopSequences List of strings that define sequences after which the model will stop generating. temperature Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs. topP Percentage of most-likely candidates that the model considers for the next token.
const
AgentPromptVariantInferenceConfigurationText.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxTokens → Input<int?>?
Maximum number of tokens to return in the response.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stopSequences → Input<List<String>?>?
List of strings that define sequences after which the model will stop generating.
final
temperature → Input<double?>?
Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
final
topP → Input<double?>?
Percentage of most-likely candidates that the model considers for the next token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited