Permintaan dikirim melalui GenerativeModel.generateContent()
Tanda Tangan:
export interface GenerateContentRequest extends BaseParams
Memperluas: BaseParams
Properti
Properti | Jenis | Deskripsi |
---|---|---|
isi | Konten[] | |
instruksi sistem | string | Bagian | Konten | |
toolConfig | ToolConfig | |
alat | Alat[] |
GenerateContentRequest.contents
Tanda Tangan:
contents: Content[];
GenerateContentRequest.system Instructionion
Tanda Tangan:
systemInstruction?: string | Part | Content;
GenerateContentRequest.toolConfig
Tanda Tangan:
toolConfig?: ToolConfig;
GenerateContentRequest.tools
Tanda Tangan:
tools?: Tool[];