Inspired by OpenAI code interpreter, I wanna implement my own version, which allow user directly upload some files.
By reading the docs, Chainlit has a AskFileMessage for users to upload files.
However, It's need User input some command text to activate server send AskFileMessage,and it's not quite intuitive.
If it's possible to add a upload file button in front-end UI, and also a @cl.on_file_uploaded_callback decorator. (kind of like Chainlit Actions)
Inspired by OpenAI code interpreter, I wanna implement my own version, which allow user directly upload some files.
By reading the docs, Chainlit has a
AskFileMessage
for users to upload files. However, It's need User input some command text to activate server sendAskFileMessage
,and it's not quite intuitive.If it's possible to add a upload file button in front-end UI, and also a
@cl.on_file_uploaded_callback
decorator. (kind of like Chainlit Actions)