Skip to content

Add Firebase AI SDK sample app #889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 22, 2025
Merged

Add Firebase AI SDK sample app #889

merged 4 commits into from
May 22, 2025

Conversation

dlarocque
Copy link
Contributor

Adds a sample app for the Firebase AI SDK built with React.

Features

  • Backend Toggle: Switch between GoogleAIBackend and VertexAIBackend with a toggle
  • Chat: Streaming, history, function calling, structured output, multimodal input, token counting, parameter controls
  • Imagen: Image generation with parameter controls

image

@dlarocque dlarocque requested review from DellaBitta and hsubox76 May 5, 2025 18:12
@dlarocque dlarocque force-pushed the dl/ai-sample-app branch 3 times, most recently from 0297649 to 8016ca1 Compare May 5, 2025 18:26
Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a top level README.md (ai/README.md) with a more general intro "This directory contains code samples for the Firebase AI SDK for Web" and a table of contents that I guess currently contains only one entry - the react sample app (you can add more later).

Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really great and comprehensive. We should definitely add simplified plain JS single-case examples later for people who are in a hurry, or Node or non-React users, but not urgent.

@dlarocque dlarocque merged commit 8b6dbf7 into master May 22, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants