Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qwgame
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
赵国君
qwgame
Commits
29ff00fc
Commit
29ff00fc
authored
Apr 22, 2019
by
hxw2303632
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加文档
parent
4a34a593
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
引擎和后台的接口.md
参数和接口文档/引擎和后台的接口.md
+35
-0
No files found.
参数和接口文档/引擎和后台的接口.md
0 → 100644
View file @
29ff00fc
#### 对话引擎提交表单接口
#### 对话引擎提交表单接口
接口名:你的url
Method:POST
Headers:
| key | value|
| :----------- | :------------ |
| Content-Type | application/x-www-form-urlencoded;charset=utf-8|
URL Parameters:
|参数名 | 数据类型 | 描述|
| :----------- | :------: | :------------ |
| chat_key | string | 会话id |
| bot_name | string | bot账号 |
| action_name | string | 处于激活状态的action(现在的机器人提出的问题) |
| query_text | string | 对话文本 |
| send_flower | string | 送花意图 |
| collection | string | 收藏意图 |
| ... | ... | ...... |
responseBody:
```
{
"code": int, //状态码, 默认0
"process": string, // 默认格式为"nextStep=***" (机器人的下一个提问)
"solution":string //回答文本
}
```
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