WebEmbeddingModel constructor

WebEmbeddingModel({
  1. required VoidCallback onClose,
  2. String? modelPath,
  3. String? tokenizerPath,
})

Implementation

WebEmbeddingModel({
  required this.onClose,
  String? modelPath,
  String? tokenizerPath,
})  : _modelPath = modelPath,
      _tokenizerPath = tokenizerPath;