StartChatParams interface

Parametry funkcji GenerativeModel.startChat().

Podpis:

export interface StartChatParams extends BaseParams 

Rozszerza: BaseParams

Właściwości

Właściwość Typ Opis
historia Treść[]
instrukcja systemu ciąg znaków | Część | Treść
konfiguracja narzędzia Konfiguracja Narzędzia
narzędzia Narzędzie[]

StartChatParams.history

Podpis:

history?: Content[];

StartChatParams.systemInstruction

Podpis:

systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

Podpis:

toolConfig?: ToolConfig;

StartChatParams.tools

Podpis:

tools?: Tool[];