Interface StartChatParams (1.0.0)

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

Package

@google-cloud/vertexai

Properties

apiEndpoint

apiEndpoint?: string;

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

generationConfig

generationConfig?: GenerationConfig;

Optional. GenerationConfig.

history

history?: Content[];

Optional. History of the chat session. Content

safetySettings

safetySettings?: SafetySetting[];

Optional. Array of SafetySetting.

tools

tools?: Tool[];

Optional. Array of Tool.