Hierarchy

  • APIResource
    • Runs

Constructors

  • Parameters

    • client: OpenAI

    Returns Runs

Properties

steps: Steps

Methods

  • Create a Run stream

    Parameters

    • threadId: string
    • body: RunCreateParamsBaseStream
    • Optionaloptions: RequestOptions<unknown>

    Returns AssistantStream

    use stream instead

  • Create a Run stream

    Parameters

    • threadId: string
    • body: RunCreateParamsBaseStream
    • Optionaloptions: RequestOptions<unknown>

    Returns AssistantStream

  • Submit the tool outputs from a previous run and stream the run to a terminal state. More information on Run lifecycles can be found here: https://platform.openai.com/docs/assistants/how-it-works/runs-and-run-steps

    Parameters

    • threadId: string
    • runId: string
    • body: RunSubmitToolOutputsParamsStream
    • Optionaloptions: RequestOptions<unknown>

    Returns AssistantStream