AgentPromptVariantInferenceConfigurationText constructor

const AgentPromptVariantInferenceConfigurationText({
  1. Input<int?>? maxTokens,
  2. Input<List<String>?>? stopSequences,
  3. Input<double?>? temperature,
  4. 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.

Implementation

const AgentPromptVariantInferenceConfigurationText({
  this.maxTokens,
  this.stopSequences,
  this.temperature,
  this.topP,
});