ออบเจ็กต์การตอบกลับที่รวมด้วยเมธอด Help
ลายเซ็น:
export interface EnhancedGenerateContentResponse extends GenerateContentResponse
ขยาย: GenerateContentResponse
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
---|---|---|
functionCalls | () => FunctionCall[] | ไม่ได้กำหนด | |
ข้อความ | () => สตริง | แสดงผลสตริงข้อความจากการตอบกลับ หากมี ส่งหากข้อความแจ้งหรือผู้สมัครถูกบล็อก |
EnhancedGenerateContentResponse.functionCalls
ลายเซ็น:
functionCalls: () => FunctionCall[] | undefined;
EnhancedGenerateContentResponse.text
แสดงผลสตริงข้อความจากการตอบกลับ หากมี ส่งหากข้อความแจ้งหรือผู้สมัครถูกบล็อก
ลายเซ็น:
text: () => string;