كائن الاستجابة ملفوف بالطرق المساعدة.
Signature:
export interface EnhancedGenerateContentResponse extends GenerateContentResponse
للتوسيع: GenerateContentResponse
أماكن إقامة
الموقع | النوع | الوصف |
---|---|---|
FunctionCalls | () => FunctionCall[] | غير محدّدة | |
نص | () => سلسلة | لعرض السلسلة النصية من الرد، إذا كان متاحًا. يعرض هذا المقياس في حال حظر الطلب أو المرشّح. |
محسَّنة{2/}ContentResponse.functionCalls
Signature:
functionCalls: () => FunctionCall[] | undefined;
OptimiseGenerateContentResponse.text
لعرض السلسلة النصية من الرد، إذا كان متاحًا. يعرض هذا المقياس في حال حظر الطلب أو المرشّح.
Signature:
text: () => string;