UseResetSession
katanakit-js / useResetSession
Function: useResetSession()
Section titled “Function: useResetSession()”function useResetSession(sessionId): Promise<void>;Defined in: core/services/assistant.service.ts:327
Deletes a conversation session and its messages.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
sessionId |
string |
The conversation session id to reset. |
Returns
Section titled “Returns”Promise<void>
Example
Section titled “Example”await useResetSession(sessionId);