{
"releaseKey": "sk-a3f5b9c2...",
"ulid": "01KMHPD0E6MSH7SR1RRDY69DV4",
"query": [
{
"type": "text",
"text": "请帮我分析一下这份产品需求文档。"
},
{
"type": "file",
"fileUrl": "http://www.example.com/xxx.pdf",
"fileName": "需求文档.pdf",
"fileId": "file-987654"
}
]
}curl --location --request POST '/service-agent/v1/api/agent/chat/publish' \
--header 'chat-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"releaseKey": "sk-a3f5b9c2...",
"ulid": "01KMHPD0E6MSH7SR1RRDY69DV4",
"query": [
{
"type": "text",
"text": "请帮我分析一下这份产品需求文档。"
},
{
"type": "file",
"fileUrl": "http://www.example.com/xxx.pdf",
"fileName": "需求文档.pdf",
"fileId": "file-987654"
}
]
}'{}