Skip to main content

firebase_hybrid_ai 0.0.2 copy "firebase_hybrid_ai: ^0.0.2" to clipboard
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_ai

This 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.2

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:firebase_hybrid_ai/firebase_hybrid_ai.dart';
0
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)

Topics

#firebase #gemini #on-device-ai #llm #generative-ai

License

Apache-2.0 (license)

Dependencies

firebase_core, firebase_core_web, flutter, flutter_web_plugins, meta, plugin_platform_interface

More

Packages that depend on firebase_hybrid_ai

Packages that implement firebase_hybrid_ai