首页> 外国专利> Method and computer device for selecting a current context-specific response for a current user query

Method and computer device for selecting a current context-specific response for a current user query

机译:为当前用户查询选择当前特定于上下文的响应的方法和计算机设备

摘要

A method and computer device for selecting a current context-specific response for a current query is disclosed. The method comprises receiving a current context snippet comprising the current query; generating, by a neural network, a current context vector based on the current context snippet; for each response snippet associated with a respective one of a plurality of vectors, generating a respective ranking score as a value of (1) a respective first vector similarity value being indicative of a linguistic similarity between (i) the current context snippet and (ii) the respective context snippet, and (2) a respective second vector similarity value being indicative of a linguistic and a logical similarity between (i) the current context snippet and (ii) the respective response snippet. The method comprises selecting the current context-specific response amongst the response snippets based on the respective ranking scores.
机译:公开了一种用于为当前查询选择当前特定于上下文的响应的方法和计算机设备。该方法包括:接收包括当前查询的当前上下文片段;以及通过神经网络基于当前上下文片段生成当前上下文向量;对于与多个向量中的各个向量相关联的每个响应代码片段,生成相应的排名分数作为(1)的值,相应的第一向量相似性值表示(i)当前上下文代码片段与(ii)之间的语言相似性)相应的上下文代码段,以及(2)相应的第二矢量相似度值指示(i)当前上下文代码段和(ii)相应的响应代码段之间的语言和逻辑相似度。该方法包括基于相应的排名分数在响应片段中选择当前特定于上下文的响应。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号