更新时间:2020-06-03 21:09
opensearch 应用版本的查询意图理解规则
{
"name": "qp_lsh_test_1",
"domain": "GENERAL",
"processors": [{
"name": "stop_word",
"use_system_dictionary": true,
"intervention_dictionary": ""
}],
"indexes": [
"default"
],
"active": true
}
字段 | 类型 | 描述 |
---|---|---|
name | String | 规则名称 |
domain | String | 行业类型 - GENERAL 通用 - ECOMMERCE 电商 - IT_CONTENT IT内容 |
processors[] | Object | 包含功能 具体说明查看下文:Processor |
indexes | Array | 应用的索引范围 |
active | Boolean | 是否默认规则 |
示例:
{
"name": "stop_word",
"use_system_dictionary": true,
"intervention_dictionary": ""
}
结构
字段 | 类型 | 描述 |
---|---|---|
name | String | 功能名称 - stop_word 停用词 - spell_check 拼写检查 - term_weighting 词权重 - synonym 同义词 - category_prediction 类目预测 - ner 实体识别 |
useSystemDictionary | Boolean | 是否使用系统内置词典 |
interventionDictionary | String | 干预词典名称 |
示例:
{
"name": "stop_word",
"categoryPrediction": 12345,
"projectId": 12346
}
结构
字段 | 类型 | 描述 |
---|---|---|
name | String | 功能名称 - category_prediction 类目预测 |
categoryPrediction | Integer | 类目预测模型ID |
projectId | Integer | 算法工程ID |
示例:
{
"name": "stop_word",
"use_system_dictionary": true,
"intervention_dictionary": "",
"priorities": [{
"priority": "HIGH",
"tag": "test",
"order": 1
}]
}
结构
字段 | 类型 | 描述 |
---|---|---|
name | String | 功能名称 - ner 实体识别 |
useSystemDictionary | Boolean | 是否使用系统内置词典 |
interventionDictionary | String | 干预词典名称 |
priorities[] | Object | 实体类型重要性设置 |
priorities[].priority | String | 重要性 - HIGH - MIDDLE - LOW |
priorities[].tag | String | 实体类型的内部英文表示 |
priorities[].order | Integer | 在同一个priority下的排序顺序 优先顺序按照数字从小到大,默认为0 |
在文档使用中是否遇到以下问题
更多建议
匿名提交