Hierarchy

  • APIResource
    • Assistants

Constructors

  • Parameters

    • client: OpenAI

    Returns Assistants

Methods

  • Create an assistant with a model and instructions.

    Parameters

    Returns APIPromise<Assistant>

  • Delete an assistant.

    Parameters

    • assistantId: string
    • Optionaloptions: RequestOptions<unknown>

    Returns APIPromise<AssistantDeleted>

  • Retrieves an assistant.

    Parameters

    • assistantId: string
    • Optionaloptions: RequestOptions<unknown>

    Returns APIPromise<Assistant>

  • Modifies an assistant.

    Parameters

    Returns APIPromise<Assistant>