genkit_flutter_gemma 0.6.0
genkit_flutter_gemma: ^0.6.0 copied to clipboard
Genkit Dart plugin for flutter_gemma — on-device LLM inference (Gemma, Qwen, Phi, DeepSeek, and more) with streaming, tools, JSON output, and embeddings.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add genkit_flutter_gemmaThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
genkit_flutter_gemma: ^0.6.0Alternatively, 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:genkit_flutter_gemma/genkit_flutter_gemma.dart';