chainlit
chainlit copied to clipboard
Add on_thread_delete callback
When a user deletes a conversation/thread, I want to be able to catch that event and potentially clear a vector database for example.
Workaround: Periodically delete threads and corresponding items older than a specific duration (one month for instance)