Request
curl "https://ark.cn-beijing.volces.com/api/v1/systemone" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ARK_API_KEY" \
-H "ark-beta-systemone-api: true" \
-d '{
"model": "doubao-seed-2-1-lite-260915",
"state": "客户反馈:收到的杯子裂了,请退回货款。",
"questions": {
"refund_requested_v1": {
"type": "noul",
"instructions": "客户是否明确要求退款?",
"criteria": {
"true": "客户明确提出退款、退回货款或拒绝换货。",
"false": "客户未提出退款诉求,或仅咨询商品、物流、售后政策。"
}
}
}
}'Response
{
"model": "doubao-seed-2-1-lite-260915",
"answers": {
"refund_requested_v1": {
"type": "noul",
"noul": 0.96
}
},
"usage": {
"input_tokens": 76,
"output_tokens": 16
}
}