Skip to content

Adding Hybrid Params API definition. #8935

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 1 commit into from
Apr 16, 2025
Merged

Adding Hybrid Params API definition. #8935

merged 1 commit into from
Apr 16, 2025

Conversation

gsiddh
Copy link

@gsiddh gsiddh commented Apr 16, 2025

Adding Hybrid Params API definition.

@gsiddh gsiddh requested a review from a team as a code owner April 16, 2025 17:36
Copy link

changeset-bot bot commented Apr 16, 2025

⚠️ No Changeset found

Latest commit: 40f9882

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

Copy link
Contributor

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_vertexai_responses.sh should be updated to clone the latest version of the responses: v10.0

@gsiddh gsiddh force-pushed the vaihi-vertex-api branch 2 times, most recently from 57c725c to ff0eb23 Compare April 16, 2025 17:43
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 16, 2025

Size Report 1

Affected Products

  • @firebase/vertexai

    TypeBase (8319ae9)Merge (285ec65)Diff
    browser34.7 kB35.2 kB+453 B (+1.3%)
    main35.7 kB36.2 kB+466 B (+1.3%)
    module34.7 kB35.2 kB+453 B (+1.3%)
  • firebase

    TypeBase (8319ae9)Merge (285ec65)Diff
    firebase-vertexai.js28.3 kB28.5 kB+225 B (+0.8%)

Test Logs

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

@gsiddh gsiddh force-pushed the vaihi-vertex-api branch from ff0eb23 to 46f1eb7 Compare April 16, 2025 17:51
@gsiddh gsiddh force-pushed the vaihi-vertex-api branch from 46f1eb7 to 40f9882 Compare April 16, 2025 17:55
@gsiddh gsiddh requested a review from a team as a code owner April 16, 2025 17:55
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 16, 2025

Size Analysis Report 1

Affected Products

  • @firebase/vertexai

    • ArraySchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.64 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • BlockReason

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.55 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • BooleanSchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.65 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • ChatSession

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size15.8 kB16.0 kB+147 B (+0.9%)
      size-with-ext-deps34.7 kB34.9 kB+148 B (+0.4%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      31 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      32 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      + InferenceMode

    • FinishReason

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.56 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • FunctionCallingMode

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.42 kB3.56 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • GenerativeModel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size18.9 kB19.1 kB+147 B (+0.8%)
      size-with-ext-deps37.9 kB38.0 kB+148 B (+0.4%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      31 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      32 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      + InferenceMode

    • HarmBlockMethod

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.56 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • HarmBlockThreshold

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.42 kB3.56 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • HarmCategory

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.56 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • HarmProbability

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.56 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • HarmSeverity

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.56 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • ImagenAspectRatio

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.42 kB3.56 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • ImagenImageFormat

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.70 kB3.84 kB+145 B (+3.9%)
      size-with-ext-deps21.6 kB21.8 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      20 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      + InferenceMode

    • ImagenModel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size10.1 kB10.2 kB+145 B (+1.4%)
      size-with-ext-deps28.1 kB28.2 kB+148 B (+0.5%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      24 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      + InferenceMode

    • ImagenPersonFilterLevel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.42 kB3.57 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • ImagenSafetyFilterLevel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.42 kB3.57 kB+145 B (+4.2%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • InferenceMode

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size?3.56 kB? (?)
      size-with-ext-deps?21.5 kB? (?)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      functions?

      registerVertex

      ?
      classes?

      VertexAIService

      ?
      variables?

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      ?
      enums??

      External Dependency

      ModuleBase (8319ae9)Merge (285ec65)Diff
      @firebase/app?

      _registerComponent
      registerVersion

      ?
      @firebase/component?

      Component

      ?
      @firebase/logger?

      Logger

      ?
    • IntegerSchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.65 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • Modality

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.55 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • NumberSchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.65 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • ObjectSchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.65 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • POSSIBLE_ROLES

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.46 kB3.60 kB+145 B (+4.2%)
      size-with-ext-deps21.4 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      POSSIBLE_ROLES
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      20 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      POSSIBLE_ROLES
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • Schema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.49 kB5.64 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • SchemaType

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.41 kB3.55 kB+145 B (+4.3%)
      size-with-ext-deps21.3 kB21.5 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • StringSchema

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.50 kB5.65 kB+145 B (+2.6%)
      size-with-ext-deps23.4 kB23.6 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • VertexAIError

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.72 kB3.86 kB+145 B (+3.9%)
      size-with-ext-deps21.6 kB21.8 kB+148 B (+0.7%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • VertexAIModel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size5.23 kB5.37 kB+145 B (+2.8%)
      size-with-ext-deps23.2 kB23.3 kB+148 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

    • getGenerativeModel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size19.1 kB19.3 kB+234 B (+1.2%)
      size-with-ext-deps38.1 kB38.3 kB+235 B (+0.6%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      31 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      32 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      POSSIBLE_ROLES
      SILENT_ERROR
      SchemaType
      Task
      VALID_PARTS_PER_ROLE
      VALID_PART_FIELDS
      VALID_PREVIOUS_CONTENT_ROLES
      VERTEX_TYPE
      badFinishReasons
      logger
      name
      responseLineRE
      version

      + InferenceMode

    • getImagenModel

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size10.2 kB10.4 kB+145 B (+1.4%)
      size-with-ext-deps28.2 kB28.4 kB+148 B (+0.5%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      24 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      25 dependencies

      BlockReason
      DEFAULT_API_VERSION
      DEFAULT_BASE_URL
      DEFAULT_FETCH_TIMEOUT_MS
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      LANGUAGE_TAG
      Modality
      PACKAGE_VERSION
      SchemaType
      Task
      VERTEX_TYPE
      logger
      name
      version

      + InferenceMode

    • getVertexAI

      Size

      TypeBase (8319ae9)Merge (285ec65)Diff
      size3.59 kB3.74 kB+145 B (+4.0%)
      size-with-ext-deps28.8 kB29.0 kB+148 B (+0.5%)

      Dependency

      TypeBase (8319ae9)Merge (285ec65)Diff
      variables

      18 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      19 dependencies

      BlockReason
      DEFAULT_LOCATION
      FinishReason
      FunctionCallingMode
      HarmBlockMethod
      HarmBlockThreshold
      HarmCategory
      HarmProbability
      HarmSeverity
      ImagenAspectRatio
      ImagenPersonFilterLevel
      ImagenSafetyFilterLevel
      InferenceMode
      Modality
      SchemaType
      Task
      VERTEX_TYPE
      name
      version

      + InferenceMode

Test Logs

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

Copy link

@erikeldridge erikeldridge left a comment

Choose a reason for hiding this comment

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

Mind removing the boilerplate in the commit message too?

@gsiddh gsiddh changed the title Define HybridParams Adding Hybrid Params API definition. Apr 16, 2025
@gsiddh gsiddh merged commit 96e7dd5 into vaihi-exp Apr 16, 2025
33 of 36 checks passed
gsiddh added a commit that referenced this pull request Apr 22, 2025
Co-authored-by: Erik Eldridge <[email protected]>
gsiddh added a commit that referenced this pull request Apr 22, 2025
Co-authored-by: Erik Eldridge <[email protected]>
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
gsiddh pushed a commit that referenced this pull request Apr 23, 2025
Fix languageCode parameter in action_code_url (#8912)

* Fix languageCode parameter in action_code_url

* Add changeset

Vaihi add langmodel types. (#8927)

* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl

* Adding LanguageModel types.

* Remove bunch of exports

* yarn formatted

* after lint

Define HybridParams (#8935)

Co-authored-by: Erik Eldridge <[email protected]>

Adding smoke test for new hybrid params (#8937)

* Adding smoke test for new hybrid params

* Use the existing name of the model params input

---------

Co-authored-by: Erik Eldridge <[email protected]>

Moving to in-cloud naming (#8938)

Co-authored-by: Erik Eldridge <[email protected]>

Moving to string type for the inference mode (#8941)

Define ChromeAdapter class (#8942)

Co-authored-by: Erik Eldridge <[email protected]>

VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)

Adding count token impl (#8950)

VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)

Define values for Availability enum (#8951)

VinF Hybrid Inference: narrow Chrome input type (#8953)

Add image inference support (#8954)

* Adding image based input for inference

* adding image as input to create language model object

disable count tokens api for on-device inference (#8962)

VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
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.

3 participants