Commit 5e84aa84 by 李进峰

添加意图搜索

parent 6dce0f24
BaseURL: https://hw-gz26.heyqiwu.cn
##### 获取领域配置
URL: {backUrl}/api/juben/intent/query
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
RequestBody:
```
{
"sents":[
"愿意陪伴",
"没兴趣陪伴你",
"看看我"
]
}
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": [
{
"id": "SHOPPING",
"name": "购物"
},
{
"id": "OTHER",
"name": "其他"
}
]
}
```
Example:
```
curl --location --request POST 'https://hw-gz26.heyqiwu.cn/api/juben/intent/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"sents":[
"愿意陪伴",
"没兴趣陪伴你",
"看看我"
]
}'
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment