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