Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.96 KB

File metadata and controls

60 lines (41 loc) · 1.96 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

VertexAIBackend class

Configuration class for the Vertex AI Gemini API.

Use this with AIOptions when initializing the AI service via getAI() to specify the Vertex AI Gemini API as the backend.

Signature:

export declare class VertexAIBackend extends Backend 

Extends: Backend

Constructors

Constructor Modifiers Description
(constructor)(location) Creates a configuration object for the Vertex AI backend.

Properties

Property Modifiers Type Description
location string The region identifier. See Vertex AI locations for a list of supported locations.

VertexAIBackend.(constructor)

Creates a configuration object for the Vertex AI backend.

Signature:

constructor(location?: string);

Parameters

Parameter Type Description
location string The region identifier, defaulting to us-central1; see Vertex AI locations for a list of supported locations.

VertexAIBackend.location

The region identifier. See Vertex AI locations for a list of supported locations.

Signature:

readonly location: string;