【问题标题】:Microsoft Cognitive Web Search has different results/structureMicrosoft 认知 Web 搜索具有不同的结果/结构
【发布时间】:2017-07-28 21:19:36
【问题描述】:

我正在使用 AZ Cognitive 来监控一个研究项目的 LinkedIn 数据。如果我对 bing.com 和使用认知 API 执行相同的查询,我会在结果的 sn-p 部分中获得不同的信息。从常规 Bing 搜索中,我可以看到个人资料职业。在 API 中,它会显示一条通用的 LinkedIn 消息。

我附上了常规 Bing 搜索结果的屏幕截图和来自 Cognitive API 的原始 JSON。

{u'name': u'Daniel Barclay at Rackspace, the #1 managed cloud company ...', u'url': u'REMOVED LINK', u'dateLastCrawled': u'2017-07-07T18:49:00', u'displayUrl': u'REMOVED LINK', u'snippet': u"View Daniel Barclay\u2019s professional profile on LinkedIn. LinkedIn is the world's largest business network, helping professionals like Daniel Barclay discover inside ...", u'id': u'REMOVED LINK'}
{u'about': [{u'name': u'Bill Ramsey'}], u'name': u'Bill Ramsey at Rackspace | LinkedIn', u'url': u'REMOVED LINK', u'dateLastCrawled': u'2017-07-07T01:00:00', u'displayUrl': u'REMOVED LINK', u'snippet': u"View Bill Ramsey\u2019s professional profile on LinkedIn. LinkedIn is the world's largest business network, helping professionals like Bill Ramsey discover inside ...", u'id': u'REMOVED LINK'}

* 编辑 * 如果您使用下面的搜索字符串作为基线,您将看到两个搜索之间的差异:

搜索字符串 - site:linkedin.com/in/“在机架空间”

  1. 使用该字符串搜索 bing.com。
  2. 使用 api 搜索该字符串。

我使用的api端点是:https://api.cognitive.microsoft.com/bing/v5.0/search

【问题讨论】:

    标签: microsoft-cognitive


    【解决方案1】:

    分享调用认知API的参数和URL。

    【讨论】:

    • 编辑了原始帖子以包含搜索字符串和 api 端点。
    【解决方案2】:

    您可以使用沙盒检查输出 JSON。我尝试过使用试用密钥,Bing.com 和沙盒的结果相同。你能在这里检查一下你的结果吗? https://dev.cognitive.microsoft.com/docs/services/56b43eeccf5ff8098cef3807/operations/56b4447dcf5ff8098cef380d/console

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-09-01
      • 2022-01-24
      • 2018-12-13
      • 1970-01-01
      • 1970-01-01
      • 2022-11-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多