Assistant constructor

const Assistant({
  1. required String id,
  2. required String object,
  3. required int createdAt,
  4. required String model,
  5. String? name,
  6. String? description,
  7. String? instructions,
  8. required List<AssistantTool> tools,
  9. ToolResources? toolResources,
  10. required Map<String, String> metadata,
  11. double? temperature,
  12. double? topP,
  13. ResponseFormat? responseFormat,
})

Creates an Assistant.

Implementation

const Assistant({
  required this.id,
  required this.object,
  required this.createdAt,
  required this.model,
  this.name,
  this.description,
  this.instructions,
  required this.tools,
  this.toolResources,
  required this.metadata,
  this.temperature,
  this.topP,
  this.responseFormat,
});