{
"model": "gpt-4o-mini",
"max_tokens": 100,
"text": {
"format": {
"type": "text"
}
},
"include": [
"output[*].logprobs"
],
"input": [
{
"role": "user",
"content": "1+1等于几?"
}
]
}curl --location '/v1/responses' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o-mini",
"max_tokens": 100,
"text": {
"format": {
"type": "text"
}
},
"include": [
"output[*].logprobs"
],
"input": [
{
"role": "user",
"content": "1+1等于几?"
}
]
}'