flutter_gemma_embeddings 1.0.1 copy "flutter_gemma_embeddings: ^1.0.1" to clipboard
flutter_gemma_embeddings: ^1.0.1 copied to clipboard

On-device text embeddings (Gecko / EmbeddingGemma .tflite via LiteRT + dart:ffi) for flutter_gemma. Opt-in EmbeddingBackendProvider for on-device RAG.

Use this package as a library

Depend on it

Run this command:

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 flutter pub get):

dependencies:
  flutter_gemma_embeddings: ^1.0.1

Alternatively, your editor might support 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
160
points
345
downloads

Documentation

API reference

Publisher

verified publishersashadenisov.dev

Weekly Downloads

On-device text embeddings (Gecko / EmbeddingGemma .tflite via LiteRT + dart:ffi) for flutter_gemma. Opt-in EmbeddingBackendProvider for on-device RAG.

Homepage
Repository (GitHub)
View/report issues

Topics

#embeddings #gemma #litert #rag #on-device

License

MIT (license)

Dependencies

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

More

Packages that depend on flutter_gemma_embeddings