GenerateContentRequest interface

GenerativeModel.generateContent()를 통해 요청이 전송됨

서명:

export interface GenerateContentRequest extends BaseParams 

확장: BaseParams

속성

속성 유형 설명
콘텐츠 콘텐츠[]
systemInstruction 문자열 | 파트 | 콘텐츠
도구 구성 도구 구성
도구 도구[]

GenerateContentRequest.contents

서명:

contents: Content[];

GenerateContentRequest.systemInstruction

서명:

systemInstruction?: string | Part | Content;

GenerateContentRequest.toolConfig

서명:

toolConfig?: ToolConfig;

GenerateContentRequest.tools

서명:

tools?: Tool[];