Demo / app /app.py
HanLee's picture
feat: 01_06b
1c76923
raw
history blame
641 Bytes
import chainlit as cl
##############################################################################
# Exercise 1a:
# Please add the proper decorator to this main function so Chainlit will call
# this function when it receives a message
##############################################################################
async def main(message: cl.Message):
##############################################################################
# Exercise 1b:
# Please get the content of the chainlit Message and send it back as a
# response
##############################################################################
await cl.Message().send()