CreateRunRequest constructor

const CreateRunRequest({
  1. required String assistantId,
  2. String? model,
  3. String? instructions,
  4. String? additionalInstructions,
  5. List<Map<String, dynamic>>? additionalMessages,
  6. List<AssistantTool>? tools,
  7. Map<String, String>? metadata,
  8. double? temperature,
  9. double? topP,
  10. bool? stream,
  11. int? maxPromptTokens,
  12. int? maxCompletionTokens,
  13. TruncationStrategy? truncationStrategy,
  14. ToolChoice? toolChoice,
  15. bool? parallelToolCalls,
  16. 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,
});