Interface BaseModelParams (1.2.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

tools

tools?: Tool[];

Optional. Array of Tool.