Buckets:

download
raw
688 Bytes
import chainlit as cl
@cl.step(name="search", type="tool", icon="search")
async def search():
await cl.sleep(1)
return "Response from search"
@cl.step(name="database", type="tool", icon="database")
async def database():
await cl.sleep(1)
return "Response from database"
@cl.step(name="regular", type="tool")
async def regular():
await cl.sleep(1)
return "Response from regular"
async def cpu():
async with cl.Step(name="cpu", type="tool", icon="cpu") as s:
await cl.sleep(1)
s.output = "Response from cpu"
@cl.on_message
async def main(message: cl.Message):
await search()
await database()
await regular()
await cpu()

Xet Storage Details

Size:
688 Bytes
·
Xet hash:
884c09ca8038d674ef7a64a74360957d1b577f4378874c041dcbb3d4c81ba6ea

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