Buckets:

download
raw
529 Bytes
import chainlit as cl
@cl.on_chat_start
async def on_chat_start():
await cl.Message(content="Hi from copilot!").send()
@cl.on_message
async def on_message(msg: cl.Message):
if cl.context.session.client_type == "copilot":
if msg.type == "system_message":
await cl.Message(content=f"System message received: {msg.content}").send()
return
fn = cl.CopilotFunction(name="test", args={"msg": msg.content})
res = await fn.acall()
await cl.Message(content=res).send()

Xet Storage Details

Size:
529 Bytes
·
Xet hash:
be3535906494848a9b63f9602c3644901e6d9896addce9b7db83f462331886e3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.