File size: 641 Bytes
4a49d79
 
 
845ed2b
 
 
 
 
4a49d79
 
845ed2b
 
 
 
 
1c76923
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()