TemplateGenerateContentRequest interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Request sent through TemplateGenerativeModel.generateContent()

Signature:

export interface TemplateGenerateContentRequest 

Properties

Property Type Description
history Content[] (Public Preview)
inputs Record<string, unknown> (Public Preview)
toolConfig ToolConfig (Public Preview)
tools TemplateFunctionDeclarationsTool[] (Public Preview)

TemplateGenerateContentRequest.history

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

history?: Content[];

TemplateGenerateContentRequest.inputs

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

inputs?: Record<string, unknown>;

TemplateGenerateContentRequest.toolConfig

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

toolConfig?: ToolConfig;

TemplateGenerateContentRequest.tools

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

tools?: TemplateFunctionDeclarationsTool[];