Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.17 KB

vertexai.requestoptions.md

File metadata and controls

46 lines (32 loc) · 1.17 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 %}

RequestOptions interface

Params passed to getGenerativeModel().

Signature:

export interface RequestOptions 

Properties

Property Type Description
baseUrl string Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com
timeout number Request timeout in milliseconds. Defaults to 180 seconds (180000ms).

RequestOptions.baseUrl

Base url for endpoint. Defaults to https://firebasevertexai.googleapis.com

Signature:

baseUrl?: string;

RequestOptions.timeout

Request timeout in milliseconds. Defaults to 180 seconds (180000ms).

Signature:

timeout?: number;