GenerateTextOptions constructor
GenerateTextOptions({
- int? maxOutputTokens,
- double? temperature,
- List<
String> ? stopSequences, - double? topP,
- double? topK,
- double? presencePenalty,
- double? frequencyPenalty,
- Map<
String, dynamic> ? responseFormat, - int? seed,
- List<
Tool> ? tools, - ToolChoice? toolChoice,
- Map<
String, String> ? headers, - Map<
String, dynamic> ? providerOptions, - ReasoningEffort? reasoning,
- String? instructions,
- Map<
String, dynamic> ? bodyOverrides, - 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,
});