Żądanie wysłane przez metodę GenerativeModel.generateContent()
Podpis:
export interface GenerateContentRequest extends BaseParams
Rozszerza: BaseParams
Właściwości
Właściwość | Typ | Opis |
---|---|---|
spis treści | Treść[] | |
instrukcja systemu | ciąg znaków | Część | Treść | |
konfiguracja narzędzia | Konfiguracja Narzędzia | |
narzędzia | Narzędzie[] |
GenerateContentRequest.contents
Podpis:
contents: Content[];
GenerateContentRequest.systemInstruction
Podpis:
systemInstruction?: string | Part | Content;
GenerateContentRequest.toolConfig
Podpis:
toolConfig?: ToolConfig;
GenerateContentRequest.tools
Podpis:
tools?: Tool[];