Data Persistence
Tags & Metadata
Tags and metadata provide valuable context for your threads, steps and generations.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
@cl.step(type="run")
async def func(input):
# some code
cl.context.current_step.metadata = {"experiment":"1"}
cl.context.current_step.tags = ["to review"]
# some code
return output
Was this page helpful?