flutter_gemma_embeddings 1.0.0-rc.1 copy "flutter_gemma_embeddings: ^1.0.0-rc.1" to clipboard
flutter_gemma_embeddings: ^1.0.0-rc.1 copied to clipboard

On-device text embeddings (Gecko / EmbeddingGemma .tflite via LiteRT C API + dart:ffi) for flutter_gemma. Opt-in package; provides an EmbeddingBackendProvider. Shares the LiteRT-LM native library owne [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_gemma_embeddings

With Flutter:

 $ flutter pub add flutter_gemma_embeddings

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flutter_gemma_embeddings: ^1.0.0-rc.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_gemma_embeddings/flutter_gemma_embeddings.dart';
0
likes
0
points
345
downloads

Publisher

verified publishersashadenisov.dev

Weekly Downloads

On-device text embeddings (Gecko / EmbeddingGemma .tflite via LiteRT C API + dart:ffi) for flutter_gemma. Opt-in package; provides an EmbeddingBackendProvider. Shares the LiteRT-LM native library owned by flutter_gemma_litertlm.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

code_assets, crypto, dart_sentencepiece_tokenizer, ffi, flutter, flutter_gemma, hooks

More

Packages that depend on flutter_gemma_embeddings