openai

Chat completion

post/openai/chat-completion

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 endpoint across all 1 revision of this API.