使用 AI 分析批次
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v1/batches/{batch_id}/analyze
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/batches//analyze' \
--header 'authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data-raw '{
"goal": "<string>",
"questions": [
[
"<string>"
]
]
}'
响应示例响应示例
{
"status": "success",
"message": "Successfully analyzed batch",
"answers": {
"123e4567-e89b-12d3-a456-426614174000": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
],
"123e4567-e89b-12d3-a456-426614174001": [
"voicemail",
null,
null,
false
]
}
}
请求参数
Path 参数
batch_id
string
必需
Header 参数
Content-Type
string
必需
示例值:
application/json
authorization
string
必需
示例值:
<authorization>
Body 参数application/json
返回响应
修改于 2024-05-10 09:15:19