File
import chainlit as cl @cl.on_chat_start async def start(): elements = [ cl.File( name="hello.py", path="./hello.py", display="inline", ), ] await cl.Message( content="This message has a file element", elements=elements ).send()
Was this page helpful?