CreateRunRequest constructor
const
CreateRunRequest({
- required String assistantId,
- String? model,
- String? instructions,
- String? additionalInstructions,
- List<
Map< ? additionalMessages,String, dynamic> > - List<
AssistantTool> ? tools, - Map<
String, String> ? metadata, - double? temperature,
- double? topP,
- bool? stream,
- int? maxPromptTokens,
- int? maxCompletionTokens,
- TruncationStrategy? truncationStrategy,
- ToolChoice? toolChoice,
- bool? parallelToolCalls,
- ResponseFormat? responseFormat,
Creates a CreateRunRequest.
Implementation
const CreateRunRequest({
required this.assistantId,
this.model,
this.instructions,
this.additionalInstructions,
this.additionalMessages,
this.tools,
this.metadata,
this.temperature,
this.topP,
this.stream,
this.maxPromptTokens,
this.maxCompletionTokens,
this.truncationStrategy,
this.toolChoice,
this.parallelToolCalls,
this.responseFormat,
});