Interface BaseModelParams (1.9.0)

Base params for initializing a model or calling GenerateContent.

Package

@google-cloud/vertexai

Properties

generationConfig

generationConfig?: GenerationConfig;

Optional. GenerationConfig.

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.