Parametry GenerativeModel.startChat().
Podpis:
export interface StartChatParams extends BaseParams
Rozszerza: BaseParams
Właściwości
Właściwość | Typ | Opis |
---|---|---|
historia | Treść[] | |
SystemInstruction | ciąg znaków | Część | Treść | |
toolConfig, | ToolConfig | |
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[];