microsoft-cognitive

Microsoft Academic API, Knowledge graph search — ReferenceIDs always empty

只谈情不闲聊 提交于 2019-12-23 04:22:36
问题 I'm using the graph search method of the Microsoft Academic API to retrieve citation IDs and reference IDs for a paper. However, while retrieving citation IDs works, the reference IDs field is always empty, even for papers which should have linked references. For example, retrieving this publication through the API: POST https://westus.api.cognitive.microsoft.com/academic/v1.0/graph/search?mode=json Content-Type: application/json Host: westus.api.cognitive.microsoft.com Ocp-Apim-Subscription

How can i use QnAMaker to provide random answers to same query

好久不见. 提交于 2019-12-23 03:11:15
问题 I was thinking as bots have some generic questions like how are you ? may be i have around 10 answers which i would like Q&A maker to choose randomly not every time same answer. or also questions like tell me a story 回答1: some generic questions like how are you ? may be i have around 10 answers which i would like Q&A maker to choose randomly not every time same answer. To achieve this requirement, you can try this approach: 1) Add a QnA pair and use a special character (such as | ) to split

Emotion API Project Oxford base64 image

无人久伴 提交于 2019-12-22 17:29:09
问题 I am trying to make a call to the Emotion Api via JavaScript with in a PhoneGap app. I encoded the image into base64 and verified that the data can be decoded by one of the online tools. this is the code that i found on the web to use. var apiKey = "e371fd4333ccad2"; //(you can get a free key on site this is modified for here) //apiUrl: The base URL for the API. Find out what this is for other APIs via the API documentation var apiUrl = "https://api.projectoxford.ai/emotion/v1.0/recognize";

Training QnA Maker with API v4.0

心已入冬 提交于 2019-12-22 12:54:16
问题 I used to use the preview version of QnA Maker and with it the v3.0 API had this train endpoint which could be used to reinforce a correct answer: https://westus.dev.cognitive.microsoft.com/docs/services/597029932bcd590e74b648fb/operations/597045078eb8131608e2f7a6 Now I'm migrating to QnA Maker GA and it uses the v4.0 API. I cannot find the train endpoint anywhere in the documentation of the v4.0 APi. Does the train endpoint still exist in the v4.0 API? 回答1: Official reply has been made on

Training QnA Maker with API v4.0

蓝咒 提交于 2019-12-22 12:54:13
问题 I used to use the preview version of QnA Maker and with it the v3.0 API had this train endpoint which could be used to reinforce a correct answer: https://westus.dev.cognitive.microsoft.com/docs/services/597029932bcd590e74b648fb/operations/597045078eb8131608e2f7a6 Now I'm migrating to QnA Maker GA and it uses the v4.0 API. I cannot find the train endpoint anywhere in the documentation of the v4.0 APi. Does the train endpoint still exist in the v4.0 API? 回答1: Official reply has been made on

Microsoft Cognitive Service Vision API ClientException Error

爷,独闯天下 提交于 2019-12-22 09:25:17
问题 I'm trying to use Vision Cognitive Services to receive the description of an image but my code always throws this exception: Exception Microsoft.ProjectOxford.Vision.ClientException HResult=0x80131500 Origine=<Non è possibile valutare l'origine dell'eccezione> Stack: in Microsoft.ProjectOxford.Vision.VisionServiceClient.HandleException (Exception exception) in Microsoft.ProjectOxford.Vision.VisionServiceClient.<SendAsync>b__42_1[TRequest,TResponse](Exception e) in System.AggregateException

Unable to find Subscription Key for Microsoft Cognitive Services

我怕爱的太早我们不能终老 提交于 2019-12-21 04:51:27
问题 I need to work on Microsoft Cognitive Services (Face API). I downloaded the code from https://github.com/Microsoft/Cognitive-face-android. Now I am unable to generate the Subscription Key for it. No matter whatever I do I get stuck in this page From where else I can find the Subscription Key. Thanks 回答1: The interface you are using is for testing-purposes. Consequently, it is not meant to be used for more than a month. Here's how you can generate an API key the proper way: Newer Edit: The

Unable to find Subscription Key for Microsoft Cognitive Services

怎甘沉沦 提交于 2019-12-21 04:51:24
问题 I need to work on Microsoft Cognitive Services (Face API). I downloaded the code from https://github.com/Microsoft/Cognitive-face-android. Now I am unable to generate the Subscription Key for it. No matter whatever I do I get stuck in this page From where else I can find the Subscription Key. Thanks 回答1: The interface you are using is for testing-purposes. Consequently, it is not meant to be used for more than a month. Here's how you can generate an API key the proper way: Newer Edit: The

Speaker recognition - Bad Request error on microsoft oxford

女生的网名这么多〃 提交于 2019-12-14 04:12:55
问题 I am using the python wrapper that has been given in the SDK section. I've been trying to enroll a voice file for a created profile using the python API. I was able to create a profile and list all profiles successfully. But when I try to enroll a voice (.wav) file with a simple hello world phrase with the created profile, I get the error 'ERROR:root:Error enrolling profile.' which in the trace tells 'Exception: Error enrolling profile: Bad Request' . I've used by importing the module to my

Parser for Constituency Tree (Linguistics Analysis API)

别来无恙 提交于 2019-12-13 18:13:43
问题 I'm using Microsofts Linguistics API. I'm trying to extract specific tokens from the returned tree. I dont see any type of parser for traversing through the tree in any documentation... One approach I considered was to use the Stanford NLP parser but It seems a little overkill for what I need. Is there an existing parser that I could use? here is sample data that is returned. for example what can I use to extract "NNP" (Tom) [{ "analyzerId": "4FA79AF1-F22C-408D-98BB-B7D7AEEF7F04", "result": [