Interface StartChatParams (0.4.0)

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

api_endpoint

api_endpoint?: string;

generation_config

generation_config?: GenerationConfig;

history

history?: Content[];

safety_settings

safety_settings?: SafetySetting[];

tools

tools?: Tool[];