Interface StartChatParams (0.2.1)

Params to initiate a multiturn chat with the model via startChat {Content[]} - [history] history of the chat session. Content {SafetySetting[]} - [safety_settings] Array of SafetySetting {GenerationConfig} - [generation_config] GenerationConfig

Package

@google-cloud/vertexai

Properties

generation_config

  generation_config 
 ?: 
  
 GenerationConfig 
 ; 
 

history

  history 
 ?: 
  
 Content 
 []; 
 

safety_settings

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