retrievalBackendFactory top-level property
Future<RetrievalBackend> Function(Map<String, Object?> options)?
retrievalBackendFactory
getter/setter pair
Creates Google's Universal Embedder from options named as in Google's
JavaScript API (l2Normalize, maxInputLength, visionTokensPerImage,
activationDataType, delegate), plus modelBytes (a Uint8List) or
modelPath (a URL).
Installed by this package's web code in browsers; null where the package runs Google's runtime itself.
Implementation
Future<RetrievalBackend> Function(Map<String, Object?> options)?
retrievalBackendFactory;