Inference Post
POST/inference/v1:path
OpenAI-compatible APIs.
Request
Path Parameters
- application/json
Body
required
- MOD1
- MOD2
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
Array [
]
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
Default value: ``
timeout
object
anyOf
number
string
temperature
object
anyOf
number
top_p
object
anyOf
number
n
object
anyOf
integer
stop
object
anyOf
string
max_completion_tokens
object
anyOf
integer
max_tokens
object
anyOf
integer
modalities
object
anyOf
presence_penalty
object
anyOf
number
frequency_penalty
object
anyOf
number
stream
object
anyOf
boolean
user
object
anyOf
string
seed
object
anyOf
integer
tools
object
anyOf
tool_choice
object
anyOf
string
logprobs
object
anyOf
boolean
top_logprobs
object
anyOf
integer
parallel_tool_calls
object
anyOf
boolean
functions
object
anyOf
function_call
object
anyOf
string
api_version
object
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}