Skip to main content

Interface: IChatAssistantsManagement

services.IChatAssistantsManagement

Table of contents

Methods

Methods

addAssistant

addAssistant(assistant): void

Adds a new assistant to the chat.

Parameters

NameTypeDescription
assistantIChatAssistantThe assistant to be added.

Returns

void

Defined in

src/services/chat.ts:22


getAssistants

getAssistants(): IChatAssistant[]

Retrieves a list of current chat assistants.

Returns

IChatAssistant[]

Array of IChatAssistant.

Defined in

src/services/chat.ts:17


removeAssistant

removeAssistant(assistantId): void

Removes an assistant from the chat.

Parameters

NameTypeDescription
assistantIdstringThe identifier of the assistant to be removed.

Returns

void

Defined in

src/services/chat.ts:27