firebase_hybrid_ai 0.0.2
firebase_hybrid_ai: ^0.0.2 copied to clipboard
A community-developed bridge between Flutter and the Firebase AI Logic hybrid inference SDKs, which run prompts on-device when a local model is available and fall back to the cloud when it is not.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add firebase_hybrid_aiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
firebase_hybrid_ai: ^0.0.2Alternatively, 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:firebase_hybrid_ai/firebase_hybrid_ai.dart';