RequestOptions interface

Params passed to getGenerativeModel().

Signature:

export interface RequestOptions 

Properties

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

RequestOptions.baseUrl

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

Signature:

baseUrl?: string;

RequestOptions.timeout

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

Signature:

timeout?: number;