Assistant constructor
Assistant({
- required String id,
- required String name,
- required String description,
- required String imageUuid,
- required String welcomeMessage,
- UsageSettings? usageSettings,
- KBSettings? kbSettings,
- required List<
CustomAction> customActions, - required AssistantType type,
- required ReplyMode replyMode,
- AiModel? model,
- String costMessage = "",
- List<
String> capabilities = const [], - AssistantApiKeyConfig? apiKeyConfig,
Implementation
Assistant({
required this.id,
required this.name,
required this.description,
required this.imageUuid,
required this.welcomeMessage,
this.usageSettings,
this.kbSettings,
required this.customActions,
required this.type,
required this.replyMode,
this.model,
this.costMessage = "",
this.capabilities = const [],
this.apiKeyConfig,
});