AI 导读
5/ 一个批次就是一个 JSON 请求体。选择端点形态、模型和你的请求: { "endpoint": "/v1/chat/completions", "model": "openai/gpt-4o", "requests": [ { "custom_id": "row-1", "body": { "messages": [...] } } ] } 你会收到 202 和一个批次 ID。
正文
5/ A batch is one JSON body. Pick the endpoint shape, the model, and your requests:
{
"endpoint": "/v1/chat/completions",
"model": "openai/gpt-4o",
"requests": [
{ "custom_id": "row-1", "body": { "messages": [...] } }
]
}
You get back 202 and a batch ID.
来源:@OpenRouter · x.com