StartChatParams interface

Parámetros para GenerativeModel.startChat().

Firma:

export interface StartChatParams extends BaseParams 

Extiende: BaseParams

Propiedades

Propiedad Tipo Descripción
historia Contenido
systemInstruction cadena | Parte | Contenido
toolConfig Configuración de herramientas
herramientas Herramienta

StartChatParams.history

Firma:

history?: Content[];

StartChatParams.systemInstruction

Firma:

systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

Firma:

toolConfig?: ToolConfig;

StartChatParams.tools

Firma:

tools?: Tool[];