Interface GetGenerativeModelParams (0.5.0)

Params used to call the getGenerativeModel method.

Inheritance

BaseModelParams > ModelParams > GetGenerativeModelParams

Package

@google-cloud/vertexai

Properties

apiEndpoint

apiEndpoint?: string;

Optional. The base Vertex AI endpoint to use for the request. If not provided, the default regionalized endpoint (i.e. us-central1-aiplatform.googleapis.com) will be used.

generation_config

generation_config?: GenerationConfig;

Optional. The configuration to use for generation.

googleAuth

googleAuth: GoogleAuth;

GoogleAuth class instance that handles authentication. Details about GoogleAuth is referred to https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/googleauth.ts

location

location: string;

The Google Cloud project location to use for the request.

model

model: string;

The name of the model to get.

project

project: string;

The Google Cloud project to use for the request.

requestOptions

requestOptions?: RequestOptions;

Optional. The request options to use for generation.

safety_settings

safety_settings?: SafetySetting[];

Optional. The safety settings to use for generation.

tools

tools?: Tool[];

Optional. The tools to use for generation.