StartChatParams interface

Parâmetros para GenerativeModel.startChat().

Assinatura:

export interface StartChatParams extends BaseParams 

Estende: BaseParams

Propriedades

Propriedade Tipo Descrição
histórico Conteúdo[]
systemInstruções (link em inglês) string | Parte | Conteúdo
toolConfig ToolConfig (em inglês)
ferramentas Ferramenta[]

StartChatParams.history

Assinatura:

history?: Content[];

StartChatParams.systemInstruções

Assinatura:

systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

Assinatura:

toolConfig?: ToolConfig;

StartChatParams.tools

Assinatura:

tools?: Tool[];