Yardımcı yöntemlerle sarmalanmış yanıt nesnesi.
İmza:
export interface EnhancedGenerateContentResponse extends GenerateContentResponse
Genişletir: GenerateContentResponse
Özellikler
Özellik | Tür | Açıklama |
---|---|---|
functionCalls | () => FunctionCall[] | tanımsız | |
metin | () => dize | Varsa yanıttaki metin dizesini döndürür. İstem veya aday engellenmişse gönderilir. |
EnhancedGenerateContentResponse.functionCalls
İmza:
functionCalls: () => FunctionCall[] | undefined;
EnhancedCreatorContentResponse.text metni
Varsa yanıttaki metin dizesini döndürür. İstem veya aday engellenmişse gönderilir.
İmza:
text: () => string;