Skip to content

Conversation

@csells
Copy link
Contributor

@csells csells commented Dec 6, 2025

…nd improve clarity

  • Updated references from deprecated google_generative_ai and vertexai_firebase packages to the new firebase_ai package across multiple files.
  • Enhanced descriptions and examples in the chat-client-sample.md, custom-llm-providers.md, and feature-integration.md to reflect the latest changes in the AI Toolkit.
  • Improved formatting and consistency in the documentation for better readability and user experience.

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

…nd improve clarity

- Updated references from deprecated `google_generative_ai` and `vertexai_firebase` packages to the new `firebase_ai` package across multiple files.
- Enhanced descriptions and examples in the `chat-client-sample.md`, `custom-llm-providers.md`, and `feature-integration.md` to reflect the latest changes in the AI Toolkit.
- Improved formatting and consistency in the documentation for better readability and user experience.
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @csells, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors the AI Toolkit documentation to align with the new firebase_ai package, replacing deprecated LLM provider references and unifying configuration instructions. It also significantly enhances clarity, improves formatting, and introduces new sections for advanced features like function calling and custom speech-to-text, ensuring the documentation accurately reflects the latest SDK changes and provides a better user experience.

Highlights

  • LLM Provider Migration: Updated all documentation references from the deprecated google_generative_ai and vertexai_firebase packages to the new firebase_ai package, ensuring consistency with the latest SDK.
  • Documentation Clarity and Formatting: Enhanced descriptions and examples across chat-client-sample.md, custom-llm-providers.md, and feature-integration.md for improved understanding and readability, alongside general formatting and consistency improvements.
  • New Feature Documentation: Added new sections in feature-integration.md detailing 'Function calling' and 'Custom speech-to-text' capabilities within the AI Toolkit.
  • Simplified Configuration: Streamlined the configuration instructions in index.md to reflect the unified firebase_ai package, removing separate setup guides for Gemini API keys and Vertex AI.
  • Enhanced User Experience Details: Updated details on multiline text input gestures for Web/Desktop and introduced an 'Attach Link' option for multimedia input in user-experience.md.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@csells
Copy link
Contributor Author

csells commented Dec 6, 2025

fyi: @mit-mit @sfshaza2 new draft PR with consistent branding changes to Firebase AI Logic SDK as well as a much cleaner set of files (the other PR went a little whacko on me).

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request does an excellent job of updating the AI Toolkit documentation to use the new firebase_ai package and remove references to deprecated packages. The examples and descriptions are clearer and more consistent. I've identified a few issues, primarily minor formatting and grammatical errors in the markdown files. However, there are some critical typos in the code examples within feature-integration.md (specifically model: model:) which would prevent the code from running. I've provided suggestions to correct these. Overall, these are valuable updates that will significantly improve the documentation for developers.

(as the Firebase provider does whenever the history is set manually).

3. Messages and attachments
1. Messages and attachments
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The numbering for this section is incorrect. It should be '3.' to follow the sequence from the previous sections. The subsequent section 'Calling the LLM' should then be '4.'.

Suggested change
1. Messages and attachments
3. Messages and attachments

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Dec 6, 2025

Visit the preview URL for this PR (updated for commit 0977b1c):

https://flutter-docs-prod--pr12787-ai-toolkit-updates-2-d8r32a9k.web.app

csells and others added 8 commits December 5, 2025 17:50
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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