全部产品
云市场
云游戏

ListQueryProcessorNers

更新时间:2020-07-14 22:25:18

描述

实体识别:获取推荐的实体类型重要性设置

方法

GET

URI

/v4/openapi/query-processor/ner/default-priorities

请求参数

查询参数

字段 类型 是否必要 示例值 描述
domain String “ECOMMERCE” 行业类型
- ECOMMERCE 电商行业

返回参数

字段 类型 描述
requestId String 请求ID
result[] Object 实体类型重要性设置
参考:实体类型重要性设置

示例

请求示例

  1. GET /v4/openapi/query-processor/ner/default-priorities?domain=ECOMMERCE

返回示例

正确返回

  1. {
  2. "requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
  3. "result": [
  4. {
  5. "tag": "brand",
  6. "priority": "HIGH",
  7. "order": 1,
  8. "label": "品牌"
  9. },
  10. {
  11. "tag": "category",
  12. "priority": "HIGH",
  13. "order": 2,
  14. "label": "品类"
  15. },
  16. {
  17. "tag": "material",
  18. "priority": "MIDDLE",
  19. "order": 3,
  20. "label": "材质"
  21. },
  22. {
  23. "tag": "element",
  24. "priority": "MIDDLE",
  25. "order": 4,
  26. "label": "款式元素"
  27. },
  28. {
  29. "tag": "style",
  30. "priority": "MIDDLE",
  31. "order": 5,
  32. "label": "风格"
  33. },
  34. {
  35. "tag": "color",
  36. "priority": "MIDDLE",
  37. "order": 6,
  38. "label": "颜色"
  39. },
  40. {
  41. "tag": "function",
  42. "priority": "MIDDLE",
  43. "order": 7,
  44. "label": "功能功效"
  45. },
  46. {
  47. "tag": "scenario",
  48. "priority": "MIDDLE",
  49. "order": 8,
  50. "label": "场景"
  51. },
  52. {
  53. "tag": "people",
  54. "priority": "MIDDLE",
  55. "order": 9,
  56. "label": "人群"
  57. },
  58. {
  59. "tag": "season",
  60. "priority": "MIDDLE",
  61. "order": 10,
  62. "label": "时间季节"
  63. },
  64. {
  65. "tag": "model",
  66. "priority": "MIDDLE",
  67. "order": 11,
  68. "label": "型号"
  69. },
  70. {
  71. "tag": "region",
  72. "priority": "MIDDLE",
  73. "order": 12,
  74. "label": "地点地域"
  75. },
  76. {
  77. "tag": "name",
  78. "priority": "MIDDLE",
  79. "order": 13,
  80. "label": "人名"
  81. },
  82. {
  83. "tag": "adjective",
  84. "priority": "MIDDLE",
  85. "order": 14,
  86. "label": "修饰"
  87. },
  88. {
  89. "tag": "category-modifier",
  90. "priority": "MIDDLE",
  91. "order": 15,
  92. "label": "品类修饰词"
  93. },
  94. {
  95. "tag": "size",
  96. "priority": "LOW",
  97. "order": 16,
  98. "label": "尺寸规格"
  99. },
  100. {
  101. "tag": "quality",
  102. "priority": "LOW",
  103. "order": 17,
  104. "label": "品质成色"
  105. },
  106. {
  107. "tag": "suit",
  108. "priority": "LOW",
  109. "order": 18,
  110. "label": "套装"
  111. },
  112. {
  113. "tag": "new-release",
  114. "priority": "LOW",
  115. "order": 19,
  116. "label": "新品"
  117. },
  118. {
  119. "tag": "series",
  120. "priority": "LOW",
  121. "order": 20,
  122. "label": "系列"
  123. },
  124. {
  125. "tag": "marketing",
  126. "priority": "LOW",
  127. "order": 21,
  128. "label": "营销服务"
  129. },
  130. {
  131. "tag": "entertainment",
  132. "priority": "LOW",
  133. "order": 22,
  134. "label": "文娱书文曲"
  135. },
  136. {
  137. "tag": "organization",
  138. "priority": "LOW",
  139. "order": 23,
  140. "label": "机构实体"
  141. },
  142. {
  143. "tag": "movie",
  144. "priority": "LOW",
  145. "order": 24,
  146. "label": "影视名称"
  147. },
  148. {
  149. "tag": "game",
  150. "priority": "LOW",
  151. "order": 25,
  152. "label": "游戏名称"
  153. },
  154. {
  155. "tag": "number",
  156. "priority": "LOW",
  157. "order": 26,
  158. "label": "数字"
  159. },
  160. {
  161. "tag": "unit",
  162. "priority": "LOW",
  163. "order": 27,
  164. "label": "单位"
  165. },
  166. {
  167. "tag": "common",
  168. "priority": "LOW",
  169. "order": 28,
  170. "label": "普通词"
  171. },
  172. {
  173. "tag": "new-word",
  174. "priority": "LOW",
  175. "order": 29,
  176. "label": "新词"
  177. },
  178. {
  179. "tag": "proper-noun",
  180. "priority": "LOW",
  181. "order": 30,
  182. "label": "专有名词"
  183. },
  184. {
  185. "tag": "symbol",
  186. "priority": "LOW",
  187. "order": 31,
  188. "label": "符号"
  189. },
  190. {
  191. "tag": "prefix",
  192. "priority": "LOW",
  193. "order": 32,
  194. "label": "前缀"
  195. },
  196. {
  197. "tag": "suffix",
  198. "priority": "LOW",
  199. "order": 33,
  200. "label": "后缀"
  201. },
  202. {
  203. "tag": "gift",
  204. "priority": "LOW",
  205. "order": 34,
  206. "label": "赠送"
  207. },
  208. {
  209. "tag": "negative",
  210. "priority": "LOW",
  211. "order": 35,
  212. "label": "否定"
  213. },
  214. {
  215. "tag": "agent",
  216. "priority": "LOW",
  217. "order": 36,
  218. "label": "代理"
  219. }
  220. ]
  221. }


错误返回
参考:响应结构