chat
post/api/v1/chat

Request

  • Base URL: https://app.lobehub.com
  • URL: https://app.lobehub.com/api/v1/chat
  • Auth: HTTP bearer

Request body

frequency_penaltynumber
max_tokensinteger nullable
modelstring nullable
presence_penaltynumber
providerstring nullable
streamboolean nullable
temperaturenumber nullable
top_pnumber

Response

Successful response

messagestring
successtrue required
timestampstring date-time required

Changes

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the response property const value false was removed for the status

    • breaking

      the response's property type changed from string to array for status

    • breaking

      removed the required property from the response with the status

    • warning

      added the new false enum value to the response property for the response status

    • info

      the request property became nullable

    • info

      added the required property to the response with the status

    • info

      endpoint added