askbot-dragon 0.7.78 → 0.7.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
>
|
|
32
32
|
</div>
|
|
33
33
|
<!-- 二级分类 -->
|
|
34
|
-
<div v-show="aiGuide.content.typesVisible
|
|
34
|
+
<div v-show="aiGuide.content.typesVisible && aiGuide.content.options[
|
|
35
|
+
activeFirstTypeIndex
|
|
36
|
+
].types.length !== 0" class="ig-types-s">
|
|
35
37
|
<span
|
|
36
38
|
v-for="(sType, sTypeIndex) in aiGuide.content.options[
|
|
37
39
|
activeFirstTypeIndex
|
|
@@ -198,38 +198,38 @@ export default {
|
|
|
198
198
|
question: [],
|
|
199
199
|
},
|
|
200
200
|
types: [
|
|
201
|
-
{
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
201
|
+
// {
|
|
202
|
+
// name: "打印机问题2",
|
|
203
|
+
// recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
|
|
204
|
+
// recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
|
|
205
|
+
// highFrequency: { // recommendType = 1
|
|
206
|
+
// rang: [], // 推荐范围
|
|
207
|
+
// number: 20, // 最多推荐问题数
|
|
208
|
+
// question: [],
|
|
209
|
+
// },
|
|
210
|
+
// intelligenceRecommend: { // recommendType = 2
|
|
211
|
+
// recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
|
|
212
|
+
// rang: [], // 推荐范围
|
|
213
|
+
// number: 20, // 最多推荐问题数
|
|
214
|
+
// question: [],
|
|
215
|
+
// },
|
|
216
|
+
// },
|
|
217
|
+
// {
|
|
218
|
+
// name: "打印机问题3",
|
|
219
|
+
// recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
|
|
220
|
+
// recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
|
|
221
|
+
// highFrequency: { // recommendType = 1
|
|
222
|
+
// rang: [], // 推荐范围
|
|
223
|
+
// number: 20, // 最多推荐问题数
|
|
224
|
+
// question: [],
|
|
225
|
+
// },
|
|
226
|
+
// intelligenceRecommend: { // recommendType = 2
|
|
227
|
+
// recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
|
|
228
|
+
// rang: [], // 推荐范围
|
|
229
|
+
// number: 20, // 最多推荐问题数
|
|
230
|
+
// question: [],
|
|
231
|
+
// },
|
|
232
|
+
// }
|
|
233
233
|
]
|
|
234
234
|
}
|
|
235
235
|
], // 分类和意图数组 二维数组
|