openai

Chat completion

post/openai/chat-completion

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/openai/chat-completion
  • Auth
    HTTP bearer

Request body

promptstring required
temperaturenumber nullable

Example request

{
  "prompt": "I am feeling",
  "temperature": 0.7
}

Response

successful operation

debug_infoobject nullable
finish_reasonstring required
function_callobject nullable
textstring

Example response

{
  "finish_reason": "stop",
  "text": "I am feeling great today"
}

Changes

No recorded changes to this operation across all 19 revisions of this API.