文档
测试

问题咨询

POST
http://localhost:8087/moaservice/api/v1/problem/ask

请求参数

参数名
类型
描述
必填
param
{minScore: 0.7 ,sheet_id: "" ,text: "开户"}
必填
minScore
最低匹配度,默认0.7
必填
sheet_id
工单ID
必填
text
咨询内容
必填
authorization
认证token
必填

响应参数

参数名
类型
描述
必填
success
请求结果,true:请求成功, false:请求失败
必填
message
请求返回消息
必填
data
详细数据
必填
main_id
工单id
必填
record_id
工单记录ID
必填
despatcher
发送人工号
必填
despatcher_name
发送人姓名
必填
despatcher_role
发送人角色 bh、ct、pr、larkbird
必填
departure_time
发送时间:2019-10-25 14:36:38
必填
content_type
发送内容的类型
必填
edit_flag
可编辑标志,0不可编辑,1可编辑,默认是可编辑
必填
contentBean
发送内容对象
必填
content_desc
内容
必填
ai_text
AI分词结果
必填
content_origin
内容来源,AI or KBMS
必填
total_size
匹配到的索引或者问题的总数量
必填
faqList
匹配的FAQ
必填
id
知识ID
必填
title
知识标题
必填
type
1索引 2问题
必填
pId
父节点id
必填
indexId
索引id
必填
keyWord
关键字
必填
answer
答案
必填
children
子节点
必填
score
匹配度
必填
relationList
关联的FAQ
必填
request_content
请求内容
必填
id
知识id
必填
sheet_id
工单ID
必填
maxRowNum
最多返回索引或问题数量
必填
record_id
工单记录表主键Id
必填
type
1索引 2问题
必填