Interface: IChatAssistantsManagement
services.IChatAssistantsManagement
Table of contents
Methods
Methods
addAssistant
▸ addAssistant(assistant): void
Adds a new assistant to the chat.
Parameters
| Name | Type | Description |
|---|---|---|
assistant | IChatAssistant | The assistant to be added. |
Returns
void
Defined in
getAssistants
▸ getAssistants(): IChatAssistant[]
Retrieves a list of current chat assistants.
Returns
Array of IChatAssistant.
Defined in
removeAssistant
▸ removeAssistant(assistantId): void
Removes an assistant from the chat.
Parameters
| Name | Type | Description |
|---|---|---|
assistantId | string | The identifier of the assistant to be removed. |
Returns
void