도우미 메서드로 래핑된 응답 객체.
서명:
export interface EnhancedGenerateContentResponse extends GenerateContentResponse
속성
속성 | 유형 | 설명 |
---|---|---|
functionCalls | () => FunctionCall[] | 정의되지 않음 | |
텍스트 | () => 문자열 | 가능한 경우 응답에서 텍스트 문자열을 반환합니다. 프롬프트 또는 후보가 차단된 경우 발생합니다. |
EnhancedGenerateContentResponse.functionCalls
서명:
functionCalls: () => FunctionCall[] | undefined;
EnhancedGenerateContentResponse.text
가능한 경우 응답에서 텍스트 문자열을 반환합니다. 프롬프트 또는 후보가 차단된 경우 발생합니다.
서명:
text: () => string;