พารามิเตอร์สำหรับ GenerativeModel.startChat()
ลายเซ็น:
export interface StartChatParams extends BaseParams
ขยาย: BaseParams
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
---|---|---|
ประวัติ | เนื้อหา[] | |
คำแนะนำเกี่ยวกับระบบ | สตริง | ส่วน | เนื้อหา | |
toolConfig | ToolConfig | |
เครื่องมือ | เครื่องมือ[] |
เริ่มChatParams.history
ลายเซ็น:
history?: Content[];
เริ่มChatParams.systemInstruction
ลายเซ็น:
systemInstruction?: string | Part | Content;
เริ่มแชทParams.toolConfig
ลายเซ็น:
toolConfig?: ToolConfig;
เริ่ม ChatParams.tools
ลายเซ็น:
tools?: Tool[];