post/chat/completions

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

modelstring required
temperaturenumber nullable
top_pnumber nullable
ninteger nullable
streamboolean nullable
max_tokensinteger nullable
presence_penaltynumber nullable
frequency_penaltynumber nullable
userstring nullable
metadataobject nullable

Response

Successful Response

idstring required
objectstring required
createdinteger required
modelstring required

Changes

    • breaking

      the //// request property type changed from object to no type

    • breaking

      the ///// response's property type changed from object to no type for status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • info

      added to the //// request property anyOf list

    • info

      added to the ///// response property anyOf list for the response status

    • breaking

      added the new required request property /////

    • breaking

      added the new required request property /////

    • breaking

      removed from the //// request property anyOf list

    • breaking

      the //// request property type changed from no type to object

    • breaking

      the ///// response's property type changed from no type to object for status

    • info

      removed from the ///// response property anyOf list for the response status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status