Interface GetGenerativeModelParams (0.4.0)

{string} model - model name {string} project - project The Google Cloud project to use for the request {string} location - The Google Cloud project location to use for the request {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 {string} - [apiEndpoint] 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. {GenerationConfig} [generation_config] - GenerationConfig {SafetySetting[]} [safety_settings] - SafetySetting {Tool[]} [tools] - Tool

Inheritance

BaseModelParams > ModelParams > GetGenerativeModelParams

Package

@google-cloud/vertexai

Properties

apiEndpoint

  apiEndpoint 
 ?: 
  
 string 
 ; 
 

generation_config

  generation_config 
 ?: 
  
 GenerationConfig 
 ; 
 

googleAuth

  googleAuth 
 : 
  
 GoogleAuth 
 ; 
 

location

  location 
 : 
  
 string 
 ; 
 

model

  model 
 : 
  
 string 
 ; 
 

project

  project 
 : 
  
 string 
 ; 
 

safety_settings

  safety_settings 
 ?: 
  
 SafetySetting 
 []; 
 

tools

  tools 
 ?: 
  
 Tool 
 []; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: