Chat/Completions
POST/v1/chat/completions
Chat/Completions
Takes a OpenAI input payload, and then forwards the appropriate request on to the Takeoff server. Note: some OpenAI parameters are not supported, see supported parameters.
See more on the structure of openAI's API here See more on the structure of messages here.
Request​
Responses​
- 200
- 400
- 422
- 503
Takes in a JSON payload and returns the response all at once.
Bad request
Malformed request body
The server is not ready to process requests yet.