Assistant constructor

Assistant({
  1. required String id,
  2. required String name,
  3. required String description,
  4. required String imageUuid,
  5. required String welcomeMessage,
  6. UsageSettings? usageSettings,
  7. KBSettings? kbSettings,
  8. required List<CustomAction> customActions,
  9. required AssistantType type,
  10. required ReplyMode replyMode,
  11. AiModel? model,
  12. String costMessage = "",
  13. List<String> capabilities = const [],
  14. AssistantApiKeyConfig? apiKeyConfig,
  15. bool supportsThinking = false,
  16. List<String>? supportedThinkingEfforts,
  17. bool voiceEnabled = false,
  18. bool liveVoiceEnabled = false,
  19. bool avatarEnabled = false,
  20. bool sttAvailable = false,
  21. bool ttsAvailable = false,
  22. List<VoiceOption> availableVoices = const [],
  23. List<String> voiceSupportedLanguages = const [],
})

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,
  this.supportsThinking = false,
  this.supportedThinkingEfforts,
  this.voiceEnabled = false,
  this.liveVoiceEnabled = false,
  this.avatarEnabled = false,
  this.sttAvailable = false,
  this.ttsAvailable = false,
  this.availableVoices = const [],
  this.voiceSupportedLanguages = const [],
});