Learn about requests to BLACKBOXAI API
POST
request to the /api/chat/completions
endpoint.
For a complete list of parameters, see the Parameters.
response_format
parameter ensures you receive a structured response from the LLM. The parameter is only supported by OpenAI models and some others
role: "assistant"
at the end of your messages
array.