Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
6e684ebb
Commit
6e684ebb
authored
Aug 31, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
意图搜索第二版api文档更新
parent
2baf437b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
1 deletion
+58
-1
intent_search.md
dramaeditor/intent_search.md
+58
-1
No files found.
dramaeditor/intent_search.md
View file @
6e684ebb
BaseURL: https://hw-gz26.heyqiwu.cn
BaseURL: https://hw-gz26.heyqiwu.cn
#####
获取领域配置
#####
意图搜索
URL: {backUrl}/api/juben/intent/query?secret=f1fvo0Yhw199PIHWTmCbbQ
URL: {backUrl}/api/juben/intent/query?secret=f1fvo0Yhw199PIHWTmCbbQ
...
@@ -52,4 +52,60 @@ curl --location --request POST 'https://hw-gz26.heyqiwu.cn/api/juben/intent/quer
...
@@ -52,4 +52,60 @@ curl --location --request POST 'https://hw-gz26.heyqiwu.cn/api/juben/intent/quer
"看看我"
"看看我"
]
]
}'
}'
```
BaseURL: https://hw-gz26.heyqiwu.cn
##### 意图搜索第二版
URL: {backUrl}/api/juben/intent/query/v2?secret=f1fvo0Yhw199PIHWTmCbbQ
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
RequestBody:
```
{
"sents":[ // 句子列表
"同意陪伴"
]
}
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": [
{
"intentName": "同意陪", // 意图名称
"allMatch": true // true表示全匹配, false表示模糊匹配
},
{
"intentName": "质疑对方是假的",
"allMatch": false
}
]
}
```
Example:
```
curl --location --request POST 'https://hw-gz26.heyqiwu.cn/api/juben/intent/query/v2?secret=f1fvo0Yhw199PIHWTmCbbQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"sents":[
"同意陪伴"
]
}'
```
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment