ModelParams interface

Parametry przekazywane do funkcji getGenerativeModel().

Podpis:

export interface ModelParams extends BaseParams 

Rozszerza: BaseParams

Właściwości

Właściwość Typ Opis
model ciąg znaków
SystemInstruction ciąg znaków | Część | Treść
toolConfig, ToolConfig
narzędzia Narzędzie[]

ModelParams.model

Podpis:

model: string;

ModelParams.SystemInstruction

Podpis:

systemInstruction?: string | Part | Content;

ModelParams.toolConfig

Podpis:

toolConfig?: ToolConfig;

ModelParams.tools

Podpis:

tools?: Tool[];