Hierarchy

  • APIResource
    • Completions

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Delete a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be deleted.

    Parameters

    • completionId: string
    • Optionaloptions: RequestOptions<unknown>

    Returns APIPromise<ChatCompletionDeleted>

  • Get a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned.

    Parameters

    • completionId: string
    • Optionaloptions: RequestOptions<unknown>

    Returns APIPromise<ChatCompletion>

  • Modify a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be modified. Currently, the only supported modification is to update the metadata field.

    Parameters

    Returns APIPromise<ChatCompletion>