Interface StartChatParams (1.7.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.

systemInstruction

systemInstruction?: string | Content;

Optional. The user provided system instructions for the model. Note: only text should be used in parts of Content

toolConfig

toolConfig?: ToolConfig;

Optional. This config is shared for all tools provided in the request.

tools

tools?: Tool[];

Optional. Array of Tool.