6 questions
-1
votes
0
answers
47
views
Why do I get a weird output from 'result.getText()' when using 'GoogleSearch Grounding Tool' in "firebase-ai" android sdk [closed]
here is the weird result:
<ctrl42> call:google_search.search{queries: [
]
} <ctrl43> <ctrl44>
This happens whenever I set a configBuilder.setResponseSchema(schema)
I've to ...
0
votes
2
answers
119
views
Android Gemini AI SDK (firebase-vertexai-ktx) fails with 404 Not Found (v1beta endpoint) despite latest library version
I'm developing an Android app using Kotlin and Jetpack Compose. I'm trying to integrate Gemini AI to analyze images uploaded by the user using the Firebase Vertex AI SDK (com.google.firebase:firebase-...
0
votes
1
answer
62
views
Flutter: `The method 'DataPart' isn't defined` when using firebase_ai for Gemini Vision
I'm trying to send an image and text to Gemini using the firebase_ai package in Flutter, but I'm getting a persistent error: The method 'DataPart' isn't defined for the type 'AiAssistantService'.
The ...
0
votes
1
answer
114
views
Flutter: inlineData content part not yet supported
I have been trying to implement Gemini image generation in Flutter, and I have use the sample code from their official documentation: https://firebase.google.com/docs/ai-logic/generate-images-gemini?...
-1
votes
1
answer
130
views
Flutter Firebase-ai-logic live api doesn't compile
I'm trying to implement in Flutter the
https://firebase.google.com/docs/ai-logic/live-api
but when I try implementing the code shown, I got compilation errors like the following one
The method '...
2
votes
1
answer
645
views
Error trying to use "gemini-2.5-pro-preview-06-05" in Firebase Vertex AI
I'm using Vertex AI in an Angular project with Firebase.
The latest 2.5 Flash model works.
const model = getGenerativeModel(this.vertexAI, { model: "gemini-2.5-flash-preview-05-20" });
But ...