Assistant constructor

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

Implementation

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