Interface StartChatParams (0.5.0)

Params to initiate a multiturn chat with the model via startChat.

Package

@google-cloud/vertexai

Properties

api_endpoint

api_endpoint?: string;

Optional. The base Vertex AI endpoint to use for the request.

generation_config

generation_config?: GenerationConfig;

Optional. GenerationConfig.

history

history?: Content[];

Optional. History of the chat session. Content

safety_settings

safety_settings?: SafetySetting[];

Optional. Array of SafetySetting.

tools

tools?: Tool[];

Optional. Array of Tool.