Decorator to enable users to continue a conversation. Requires both data persistence and authentication to be enabled. This decorator will automatically:Documentation Index
Fetch the complete documentation index at: https://docs.chainlit.io/llms.txt
Use this file to discover all available pages before exploring further.
- Send the persisted messages and elements to the UI.
- Restore the user session.
Usage
At minimum, you will need to use the@cl.on_chat_resume decorator to resume conversations.
Resume Langchain Chat Example
Practical example of how to resume a chat with context.
Parameters
The persisted chat to resume.