Parameters
cl.Message
The message coming from the UI.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import chainlit as cl
@cl.on_message
def main(message: cl.Message):
content = message.content
# do something
Was this page helpful?