Authorization: Bearer ********************
{
"model": "string",
"messages": [
{
"role": "system",
"content": "string",
"name": "string",
"tool_calls": "string",
"tool_call_id": "string"
}
],
"frequency_penalty": -2,
"max_tokens": 0,
"n": 0,
"presence_penalty": -2,
"response_format": "string",
"seed": 0,
"stop": [
"string"
],
"stream": false,
"temperature": 0,
"top_p": 0,
"tools": [
{
"type": "string",
"function": {
"description": "string",
"name": "string",
"parameters": {
"type": "string",
"properties": {},
"required": [
"string"
],
"additionalProperties": true
},
"strict": false
}
}
]
}
curl --location --request POST '/chat/completions' \
--header 'x-opengateway-failover-sequence;' \
--header 'x-opengateway-vllm-endpoint;' \
--header 'x-opengateway-vllm-api-key;' \
--header 'x-opengateway-timeout;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"messages": [
{
"role": "system",
"content": "string",
"name": "string",
"tool_calls": "string",
"tool_call_id": "string"
}
],
"frequency_penalty": -2,
"max_tokens": 0,
"n": 0,
"presence_penalty": -2,
"response_format": "string",
"seed": 0,
"stop": [
"string"
],
"stream": false,
"temperature": 0,
"top_p": 0,
"tools": [
{
"type": "string",
"function": {
"description": "string",
"name": "string",
"parameters": {
"type": "string",
"properties": {},
"required": [
"string"
],
"additionalProperties": true
},
"strict": false
}
}
]
}'
{}