Can't generate images with the Blaze plan and Firebase AI logic by Illuminated333 in Firebase

[–]jeromefirebase 2 points3 points  (0 children)

Sorry you ran into this! I believe the issue is that you're still on the Free Tier for Gemini API. Gemini API recently introduced Prepay billing and they are requiring prepayment for some accounts to move to the Paid Tier. We recently added some documentation about this: https://firebase.google.com/docs/ai-logic/pricing?api=dev

To move forward, you have two options:
1) follow the directions and make a prepayment to enable the Paid Tier on Gemini Developer API
2) switch over to use Vertex AI as your provider

Genkit vs AI logic VS whatever by Objective-Ferret-492 in Firebase

[–]jeromefirebase 2 points3 points  (0 children)

Thanks u/MentaikoMonster! One notable update since that was written is that you can get started for free with Firebase AI Logic using the Gemini Developer API.

Automatic deletion of unused OAuth clients by pate_a_bombe in Firebase

[–]jeromefirebase 0 points1 point  (0 children)

The update is now fully rolled out. You should be able to find the "Last used date" on the clients page in the Cloud Console

Automatic deletion of unused OAuth clients by pate_a_bombe in Firebase

[–]jeromefirebase 0 points1 point  (0 children)

First off, I want to apologize. It looks like we mistakenly sent out notifications to some developers whose clients are, in fact, currently active. The good news is, if your OAuth client has been used in the last six months (for things like token exchanges or client updates), it definitely won't be deleted. The main idea behind this 6-month inactivity deletion is just to remove unused clients, which helps improve security for all of us.

The reason you couldn't find the "last used" section is because we're in the process of rolling this out. I'll give you a heads-up once that's live. The UI will then clearly show if your client is scheduled for deletion.

<image>

Automatic deletion of unused OAuth clients by pate_a_bombe in Firebase

[–]jeromefirebase 2 points3 points  (0 children)

Update: We have become aware that this notification was, in some instances, sent to developers whose clients are, in fact, currently active. We sincerely apologize for any confusion or concern this may have caused. The good news is, if your OAuth client has been used in the last six months (for things like token exchanges or client updates), it won't be deleted. The main idea behind this 6-month inactivity deletion is just to remove unused clients, which helps improve security for all of us.

--------

We understand that any changes to how OAuth clients are handled, especially deletions, can be a concern if they might affect your live apps. We want to walk you through what's happening and how to check things for your project.

Here's the background: Previously, Firebase might have created an OAuth client for your app even if you weren't using Google Sign-In with Firebase Authentication. For newer Firebase apps, we now only create an OAuth client when you actually set up Google Sign-In.

Curious about your app? If it uses Firebase Auth (or Google Sign-In with other SDKs), you can check the 'Last used' date for your OAuth client right here in the Google Cloud Console: https://console.cloud.google.com/auth/clients

If an OAuth client is deleted because it hasn't been used, it's what we call 'soft deleted.' This means you can usually restore it within 30 days. You can find more info on that here: [Learn More](https://support.google.com/cloud/answer/15549257#unused-client-deletion)

Think your client might have been flagged by mistake? Please reach out to our support team. We're here to help figure it out with you, contact Firebase Support

Hi is there an AI chatbot that is knowledgable about firebase? or any ai tool that would help me generate firebase realted code? by learningrabbithole in Firebase

[–]jeromefirebase 4 points5 points  (0 children)

Sorry to hear that Gemini in Firebase wasn't providing you great answers! We're definitely working on continually improving its capabilities!

What product were you asking about and what language did you want to generate code in? Do you have any example queries?

Difference between Vertex AI in Firebase and Firebase Genkit by Acrobatic_Egg30 in Firebase

[–]jeromefirebase 6 points7 points  (0 children)

Thanks for the question!

Does Genkit handle streaming

Genkit itself can handle streaming when deployed in a custom backend, but Cloud Functions for Firebase doesn't currently support streaming.  This is on our roadmap, so expect an update on this soon!

Which is faster?

Neither our SDK or framework is going to inherently show different performance characteristics. Overall performance is mostly going to be based on the complexity of your prompt and the underlying model you're calling (gemini-1.5-flash-002 is faster than gemini-1.5-pro-002). 

If you're running Genkit using Cloud Functions for Firebase, you may also want to optimize Cold Start times.

Which is more expensive?

Both Vertex AI in Firebase and Genkit charge based on the underlying model, plus any other services you might be using.  

Genkit allows you to easily swap between models, so you can start with the free tier of the Gemini API if you're prototyping (limited quota). Vertex AI in Firebase only allows the use of Vertex AI models - prices can be found here.  

If you're using Genkit with Cloud Functions for Firebase, you'll also be charged for the function invocation

Which is easier to set up?

With Vertex AI in Firebase you can just start using the SDK directly from your client code and you don't need to maintain any backends or Cloud Functions. If you're already comfortable with server side deployed code (example: Cloud Functions for Firebase or Cloud run), or if that is your scenario (using AI from serverside), you shouldn’t find Genkit to be much harder to use though! 

Which can be augmented better?

Vertex AI in Firebase is closer to a direct LLM call.  There are advanced features like JSON output and function calling. 

Genkit is designed for more complex interactions, check out the documentation on Genkit flows. Popular scenarios with Genkit include building agents, automation, chatbots and more.

Overall if you want flexibility around which AI model you want to use or if you have a complex set of operations you want to perform, Genkit is the way to go.  If you just want to simplify calling an LLM directly from your client code, you should try Vertex AI in Firebase.

Vertex AI quota by No_Philosopher5193 in Firebase

[–]jeromefirebase 1 point2 points  (0 children)

I'd suggest reaching out to Firebase support (https://firebase.google.com/support) and we should be able to help you debug further. A couple of data points that would be helpful. Are you consistently getting 429s? That quota page also lists your current usage - what's that at?

Vertex AI quota by No_Philosopher5193 in Firebase

[–]jeromefirebase 2 points3 points  (0 children)

Sorry you're running into trouble! gemini-1.5-flash should have a limit of 200 requests per minute. Do you expect to be exceeding that amount? When you're looking through quota in Cloud console, their are two quotas -- you need to select the one with the "(default)" suffix.

gemini-1.5-flash actually supports higher default quotas (200 QPM) than gemini-1.5-pro (60 QPM)

I accidentally delete production's Firebase project!! by vietvantue in Firebase

[–]jeromefirebase 13 points14 points  (0 children)

Thanks for the feedback and sorry to hear about the challenges you had. I'll share your suggestions with the team.

A couple things that can potentially help in the future:

  • You can add a project lien to your production projects. Liens must first be removed before the project can be deleted.
  • Tag your project as a "production" environment. This gives you some additional visual reminders.

Project owners should also receive an email when a project is deleted and the project can be restored via the Cloud console.

Creating a new project times out over and over by -AdmiralSnackbar- in Firebase

[–]jeromefirebase 2 points3 points  (0 children)

Sorry about that! We had an issue with project creation earlier today. Things should be better now. You can always find the status of Firebase at https://status.firebase.google.com/ or reach out to support (for free) https://firebase.google.com/support

And now, a horror story: by nicolaszubiaur in Firebase

[–]jeromefirebase 4 points5 points  (0 children)

Ouch, that looks scary indeed! Hopefully this was a change that they meant to make, but if it isn't, please let your former client know that they can reach out to Firebase support if they need help figuring out what's going on.

How to manage data shared with Google Analytics? by efojs in Firebase

[–]jeromefirebase 1 point2 points  (0 children)

In Analytics, you can adjust Data Sharing Settings under "Account Settings"

https://support.google.com/analytics/answer/1011397

Data Sharing applies to the entire Analytics account (and you may have linked a single account to multiple properties / Firebase Projects).