Skip to content

Commit c25c963

Browse files
Update hybrid sample readme
1 parent cbbcc5b commit c25c963

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

samples/gemini-hybrid/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ This sample is part of the [AI Sample Catalog](../../). To build and run this sa
66

77
This sample demonstrates how to use the Firebase Hybrid SDK, utilizing both on-device (Gemini Nano via [ML Kit Prompt API](https://developers.google.com/ml-kit/genai/prompt/android)) and cloud-based models via the [Firebase AI Logic SDK](https://firebase.google.com/docs/ai-logic).
88

9-
### Key Snippets
9+
The sample lets users generate generic user reviews for a hotel based on a few selected topics.
1010

11+
<div style="text-align: center;">
12+
<img width="320" alt="Gemini Hybrid SDK in action" src="gemini_hybrid.png" />
13+
</div>
14+
15+
## How it works
16+
17+
Here is how the model is instantiated to leverage hybrid inference:
1118
```kotlin
1219
val model = Firebase.ai(backend = GenerativeBackend.googleAI())
1320
.generativeModel(

0 commit comments

Comments
 (0)