Skip to main content

Documentation Index

Fetch the complete documentation index at: https://chainlit-5-wd-prompt.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

An attachement is a file that has been generated or processed by a Step.
An attachment on a step

Create an attachment:

attachment = await client.api.create_attachment(
    thread_id="<THREAD_UUID>",
    step_id="<STEP_UUID>"
    name="my_attachment",
    content_type="text/plain",
    content="Hello world",
)