Chat Completions API

Changes to Create a chat completion

post/chat/completions
    • breaking

      removed the enum value priority of the request property /

    • warning

      added the new content_filter enum value to the // response property for the response status (media type: text/event-stream)

    • warning

      added the new length enum value to the // response property for the response status (media type: text/event-stream)

    • info

      added the new optional header request parameter X-Sail-Completion-Window

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the new balanced enum value to the request property /

    • info

      added the new max enum value to the request property /

    • info

      added to the //// request property oneOf list

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/event-stream)