GenerateTextOptions constructor

GenerateTextOptions({
  1. int? maxOutputTokens,
  2. double? temperature,
  3. List<String>? stopSequences,
  4. double? topP,
  5. double? topK,
  6. double? presencePenalty,
  7. double? frequencyPenalty,
  8. Map<String, dynamic>? responseFormat,
  9. int? seed,
  10. List<Tool>? tools,
  11. ToolChoice? toolChoice,
  12. Map<String, String>? headers,
  13. Map<String, dynamic>? providerOptions,
  14. ReasoningEffort? reasoning,
  15. String? instructions,
  16. Map<String, dynamic>? bodyOverrides,
  17. int? maxRetries,
})

Implementation

GenerateTextOptions({
  this.maxOutputTokens,
  this.temperature,
  this.stopSequences,
  this.topP,
  this.topK,
  this.presencePenalty,
  this.frequencyPenalty,
  this.responseFormat,
  this.seed,
  this.tools,
  this.toolChoice,
  this.headers,
  this.providerOptions,
  this.reasoning,
  this.instructions,
  this.bodyOverrides,
  this.maxRetries,
});