Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions firebase_ai_live_api_demo/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Firebase AI Logic Live API Demo
**Target Platforms:** iOS, Android, Web

**Tech Stack:** [Flutter](https://flutter.dev/) (frontend), [Firebase AI Logic](https://firebase.google.com/docs/ai-logic) (Gemini API in Vertex AI for the backend)
**Tech Stack:** [Flutter](https://flutter.dev/) (frontend), [Firebase AI Logic](https://firebase.google.com/docs/ai-logic) (Gemini Enterprise Agent Platform for the backend)

![Plant Identifier – Firebase AI Live API Demo App on mobile & web](README/PlantIdentifierHero.png)

Expand Down Expand Up @@ -74,5 +74,5 @@ or take some sort of action.
- [Firebase AI Logic docs](https://firebase.google.com/docs/ai-logic)

Feeling inspired? Check out these other Flutter & Firebase AI Logic sample apps!
- [Agentic App Manager](https://github.com/flutter/demos/tree/main/agentic_app_manager): Build an agentic experience in a Flutter app using Firebase AI Logic with the Gemini API in Vertex AI.
- [Agentic App Manager](https://github.com/flutter/demos/tree/main/agentic_app_manager): Build an agentic experience in a Flutter app using Firebase AI Logic with the Gemini Enterprise Agent Platform.
- [Colorist](https://github.com/flutter/demos/tree/main/vertex_ai_firebase_flutter_app): Explore LLM tooling interfaces by allowing users to describe colors in natural language. The app uses Gemini LLM to interpret descriptions and change the color of a displayed square by calling specialized color tools.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class _MyHomePageState extends ConsumerState<FlutterFireAILiveAPIDemo> {
bool _audioIsInitialized = false;
bool _videoIsInitialized = false;
final LiveGenerativeModel
_liveModel = FirebaseAI.vertexAI().liveGenerativeModel(
_liveModel = FirebaseAI.agentPlatform().liveGenerativeModel(
model: 'gemini-2.0-flash-live-preview-04-09',
systemInstruction: Content.text(
'You are a plant identifier. Greet the user by telling them that you '
Expand Down
4 changes: 2 additions & 2 deletions firebase_ai_live_api_demo/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ dependencies:
record: ^5.2.1
flutter_riverpod: ^2.6.1
flutter_soloud: ^3.1.6
firebase_core: ^3.13.0
firebase_core: ^4.13.0
camera: ^0.11.1
flutter_animate: ^4.5.2
firebase_ai: ^2.0.0
firebase_ai: ^3.15.0

dev_dependencies:
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion firebase_ai_logic_showcase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Flutter apps.

## Getting Started

1. Follow [these instructions](https://firebase.google.com/docs/ai-logic/get-started?&api=vertex#set-up-firebase)
1. Follow [these instructions](https://firebase.google.com/docs/ai-logic/get-started?&api=dev#set-up-firebase)
to set up a Firebase project & connect the app to Firebase using `flutterfire configure`

1. Run `flutter pub get` in the root of the project directory `flutter_ai` to
Expand Down