首页 > 解决方案 > 学术知识认知服务实验室 API 错误 500

问题描述

我在这里获得了 Microsoft 的 Cognitive Services Labs 的 API 密钥,但是当我尝试使用API“Try me”页面中提供的示例graphSearch方法时,大约 20 秒后出现 500 服务器错误。其他 API 端点 ( interpret, evaluate) 似乎运行良好。这是我的查询(也通过“试试我”页面尝试):

export SERVER=api.labs.cognitive.microsoft.com

curl "https://${SERVER}/academic/v1.0/graph/search?mode=json" \
    -H "Host: ${SERVER}" \
    -H 'Content-Type: application/json' \
    -H "Ocp-Apim-Subscription-Key: ${API_KEY}" \
    --data '{"path":"/paper/AuthorIDs/author","paper":{"type":"Paper","NormalizedTitle":"graph engine","select":["OriginalTitle"]},"author":{"return":{"type":"Author","Name":"bin shao"}}}'

我已经通过认知服务 UserVoice 门户写了一份询问,但到目前为止没有任何答复。该服务未在Azure 状态页面中列出。

我想知道我的查询或帐户注册是否有问题,或者这是一个暂时的问题。应该很容易回答。

标签: microsoft-cognitiveinternal-server-errorazure-cognitive-services

解决方案


推荐阅读