Skip to content

docs(ai): Remove references to specific model versions #9203

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dlarocque
Copy link
Contributor

Removes references to specific model versions (for example, imagen-3.0-generate-002), and adds links to https://firebase.google.com/docs/ai-logic/models.

Addresses b/438110094 (internal)

@dlarocque dlarocque requested review from a team as code owners August 12, 2025 13:53
Copy link

changeset-bot bot commented Aug 12, 2025

⚠️ No Changeset found

Latest commit: 05083eb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -26,7 +26,7 @@ export interface ImagenModelParams
| Property | Type | Description |
| --- | --- | --- |
| [generationConfig](./ai.imagenmodelparams.md#imagenmodelparamsgenerationconfig) | [ImagenGenerationConfig](./ai.imagengenerationconfig.md#imagengenerationconfig_interface) | <b><i>(Public Preview)</i></b> Configuration options for generating images with Imagen. |
| [model](./ai.imagenmodelparams.md#imagenmodelparamsmodel) | string | <b><i>(Public Preview)</i></b> The Imagen model to use for generating images. For example: <code>imagen-3.0-generate-002</code>.<!-- -->Only Imagen 3 models (named <code>imagen-3.0-*</code>) are supported.<!-- -->See [model versions](https://firebase.google.com/docs/vertex-ai/models) for a full list of supported Imagen 3 models. |
| [model](./ai.imagenmodelparams.md#imagenmodelparamsmodel) | string | <b><i>(Public Preview)</i></b> The Imagen model to use for generating images.<!-- -->See the documentation for a list of [supported models](https://firebase.google.com/docs/ai-logic/models)<!-- -->.<!-- -->See [model versions](https://firebase.google.com/docs/vertex-ai/models) for a full list of supported Imagen 3 models. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to update the commented out statement, as well?

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 12, 2025

Size Report 1

Affected Products

  • @firebase/firestore

    TypeBase (cc605e7)Merge (08f223b)Diff
    browser391 kB391 kB+1 B (+0.0%)
    main611 kB611 kB+1 B (+0.0%)
    module391 kB391 kB+1 B (+0.0%)
    react-native392 kB392 kB+1 B (+0.0%)
  • @firebase/firestore-lite

    TypeBase (cc605e7)Merge (08f223b)Diff
    browser115 kB115 kB+1 B (+0.0%)
    main158 kB158 kB+1 B (+0.0%)
    module115 kB115 kB+1 B (+0.0%)
    react-native116 kB116 kB+1 B (+0.0%)
  • @firebase/functions

    TypeBase (cc605e7)Merge (08f223b)Diff
    browser13.9 kB14.2 kB+297 B (+2.1%)
    main14.4 kB14.7 kB+302 B (+2.1%)
    module13.9 kB14.2 kB+297 B (+2.1%)
  • bundle

    TypeBase (cc605e7)Merge (08f223b)Diff
    firestore (Transaction)224 kB224 kB+1 B (+0.0%)
    firestore-lite (Transaction)107 kB107 kB+1 B (+0.0%)
    functions (call)38.6 kB38.7 kB+132 B (+0.3%)
  • firebase

    TypeBase (cc605e7)Merge (08f223b)Diff
    firebase-compat.js800 kB800 kB+131 B (+0.0%)
    firebase-firestore-compat.js349 kB349 kB+1 B (+0.0%)
    firebase-firestore-lite.js138 kB138 kB+1 B (+0.0%)
    firebase-firestore.js455 kB455 kB+1 B (+0.0%)
    firebase-functions-compat.js14.7 kB14.8 kB+126 B (+0.9%)
    firebase-functions.js19.4 kB19.5 kB+182 B (+0.9%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/mthGmemHZb.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 12, 2025

Size Analysis Report 1

Affected Products

  • @firebase/firestore

    • runTransaction

      Size

      TypeBase (cc605e7)Merge (08f223b)Diff
      size139 kB139 kB+1 B (+0.0%)
      size-with-ext-deps211 kB211 kB+1 B (+0.0%)
  • @firebase/functions

    • connectFunctionsEmulator

      Size

      TypeBase (cc605e7)Merge (08f223b)Diff
      size2.84 kB2.85 kB+12 B (+0.4%)
      size-with-ext-deps25.0 kB25.1 kB+12 B (+0.0%)
    • getFunctions

      Size

      TypeBase (cc605e7)Merge (08f223b)Diff
      size3.03 kB3.04 kB+12 B (+0.4%)
      size-with-ext-deps32.6 kB32.6 kB+12 B (+0.0%)
    • httpsCallable

      Size

      TypeBase (cc605e7)Merge (08f223b)Diff
      size8.48 kB8.62 kB+141 B (+1.7%)
      size-with-ext-deps26.2 kB26.5 kB+284 B (+1.1%)

      Dependency

      TypeBase (cc605e7)Merge (08f223b)Diff
      functions

      16 dependencies

      _errorForResponse
      call
      callAtURL
      codeForHTTPStatus
      createResponseStream
      decode
      encode
      failAfter
      httpsCallable
      httpsCallable$1
      makeAuthHeaders
      mapValues
      postJSON
      registerFunctions
      stream
      streamAtURL

      17 dependencies

      _errorForResponse
      call
      callAtURL
      codeForHTTPStatus
      createResponseStream
      decode
      encode
      failAfter
      getCredentials
      httpsCallable
      httpsCallable$1
      makeAuthHeaders
      mapValues
      postJSON
      registerFunctions
      stream
      streamAtURL

      + getCredentials

      External Dependency

      ModuleBase (cc605e7)Merge (08f223b)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isCloudWorkstation

      + isCloudWorkstation

    • httpsCallableFromURL

      Size

      TypeBase (cc605e7)Merge (08f223b)Diff
      size8.37 kB8.51 kB+141 B (+1.7%)
      size-with-ext-deps26.1 kB26.4 kB+284 B (+1.1%)

      Dependency

      TypeBase (cc605e7)Merge (08f223b)Diff
      functions

      14 dependencies

      _errorForResponse
      callAtURL
      codeForHTTPStatus
      createResponseStream
      decode
      encode
      failAfter
      httpsCallableFromURL
      httpsCallableFromURL$1
      makeAuthHeaders
      mapValues
      postJSON
      registerFunctions
      streamAtURL

      15 dependencies

      _errorForResponse
      callAtURL
      codeForHTTPStatus
      createResponseStream
      decode
      encode
      failAfter
      getCredentials
      httpsCallableFromURL
      httpsCallableFromURL$1
      makeAuthHeaders
      mapValues
      postJSON
      registerFunctions
      streamAtURL

      + getCredentials

      External Dependency

      ModuleBase (cc605e7)Merge (08f223b)Diff
      @firebase/util

      FirebaseError
      getModularInstance

      FirebaseError
      getModularInstance
      isCloudWorkstation

      + isCloudWorkstation

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/jiVsdODAfH.html

@@ -32,7 +32,7 @@ import { _isFirebaseServerApp } from '@firebase/app';
export abstract class AIModel {
/**
* The fully qualified model resource name to use for generating images
* (for example, `publishers/google/models/imagen-3.0-generate-002`).
* (for example, `publishers/google/models/model-name`).
Copy link
Contributor

@DellaBitta DellaBitta Aug 12, 2025

Choose a reason for hiding this comment

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

Should this be something like <model-name>?

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.

4 participants