Interface ModelParams (1.9.0)

Configuration for initializing a model, for example via getGenerativeModel in VertexAI class.

Inheritance

BaseModelParams > ModelParams

Package

@google-cloud/vertexai

Properties

cachedContent

  cachedContent 
 ?: 
  
 CachedContent 
 ; 
 

Optional. The cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings.

model

  model 
 : 
  
 string 
 ; 
 

The name of the model.

Example

"gemini-1.0-pro".

Create a Mobile Website
View Site in Mobile | Classic
Share by: