DatasetChatModelOption constructor

const DatasetChatModelOption({
  1. String? backend,
  2. required String provider,
  3. required String providerFriendlyName,
  4. required String model,
  5. String? modelFriendlyName,
  6. String? modelDescription,
  7. List<String> modalities = const <String>['text'],
  8. List<String> availableVoices = const <String>[],
  9. String? defaultOutputVoice,
  10. DatasetChatAudioFormat? inputFormat,
  11. DatasetChatAudioFormat? outputFormat,
  12. String? turnDetection,
  13. List<String> realtimeProtocols = const <String>[],
  14. bool supportsAttachments = false,
  15. List<String> accepts = const <String>[],
  16. bool active = false,
})

Implementation

const DatasetChatModelOption({
  this.backend,
  required this.provider,
  required this.providerFriendlyName,
  required this.model,
  this.modelFriendlyName,
  this.modelDescription,
  this.modalities = const <String>['text'],
  this.availableVoices = const <String>[],
  this.defaultOutputVoice,
  this.inputFormat,
  this.outputFormat,
  this.turnDetection,
  this.realtimeProtocols = const <String>[],
  this.supportsAttachments = false,
  this.accepts = const <String>[],
  this.active = false,
});