Assistant constructor
const
Assistant({
- required String id,
- required String object,
- required int createdAt,
- required String model,
- String? name,
- String? description,
- String? instructions,
- required List<
AssistantTool> tools, - ToolResources? toolResources,
- required Map<
String, String> metadata, - double? temperature,
- double? topP,
- 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,
});