RequestOptions interface

getGenerativeModel() に渡されるパラメータ。

署名:

export interface RequestOptions 

プロパティ

プロパティ タイプ 説明
baseUrl 文字列 エンドポイントのベース URL。デフォルトは https://firebaseml.googleapis.com
タイムアウト 数値 リクエストのタイムアウト(ミリ秒単位)。

RequestOptions.baseUrl

エンドポイントのベース URL。デフォルトは https://firebaseml.googleapis.com

署名:

baseUrl?: string;

RequestOptions.timeout

リクエストのタイムアウト(ミリ秒単位)。

署名:

timeout?: number;