{
"robot_id": 2,
"cate_id": 1,
"retry_id": 0,
"question": "这个文件说了什么内容",
"files": [
{
"type": 30,
"name": "工程检测安全政策.pdf",
"size": 100,
"text": "工程检测需要先学习基础知识",
"url": ""
}
],
"annex": [
{
"type": 10,
"name": "图片001.png",
"url": "https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg"
}
]
}
curl --location --request POST '/api/v1/chat/completions' \
--header 'token: {{api-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"robot_id": 2,
"cate_id": 1,
"retry_id": 0,
"question": "这个文件说了什么内容",
"files": [
{
"type": 30,
"name": "工程检测安全政策.pdf",
"size": 100,
"text": "工程检测需要先学习基础知识",
"url": ""
}
],
"annex": [
{
"type": 10,
"name": "图片001.png",
"url": "https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg"
}
]
}'
{
"code": 1,
"show": 1,
"msg": "操作成功",
"data": []
}