Questions tagged [azure-cognitive-services]

Use this tag for Azure Cognitive services questions including Vision, Speech, Language, Decision & Web Search APIs and SDKs.

Useful Resources:

Azure Cognitive services

Labs

2488 questions
4
votes
1 answer

Microsoft Cognitive-SpeakerRecognition BadRequst using Java

I was just playing around with the Cognitive-SpeakerRecognition and tried to enroll a new user. For that i followed the examples from the Microsoft API Reference. Sadly I get an error response: { "error": { "code": "BadRequest", "message":…
4
votes
2 answers

Can not find the Json object (Using org.json)

Microsoft Academic provided an API to get some general information from Microsoft academic. The response type is a Json Object. Using org.Json and following code, I have tried to read the response object but I have failed (need to download these…
user3049183
  • 136
  • 1
  • 3
  • 16
4
votes
0 answers

How to incorporate the conversational context into LUIS?

I know Microsoft Luis is basically a black box that takes the utterances as input and outputs a JSON object which contains 1) a list for the entities, 2) a list for all the intents along with their scores. My question is that how can I take the…
4
votes
1 answer

Does Microsoft Speech REST API have limitation of audio length

I am using Microsoft Speech Recognition - REST API to convert audio files to text. I am able to get text from the speech but only part of it. If I use audio file of length greater than 50 seconds. It just return text result for the first 50 seconds…
Bso
  • 41
  • 3
4
votes
0 answers

Does speech recognition work for WAV files created with iOS devices?

I have been trying to use the Microsoft SpeechSDK Speech Recognition backend to work with WAV files created using AVAudioRecorder and noticed that the DataRecognitionClient doesn't seem to return any errors or partial/final responses. If however, I…
4
votes
1 answer

How to use Bing Search Api using c#

I'd like to use Cognitive Services to use Bing Search APIs. I created Cog Services Account in Azure Portal and used the key listed in properties in my sample app. There are 2 keys which are listed Cognitive Services Account…
khar
  • 201
  • 4
  • 12
4
votes
1 answer

microsoft-cognitive: getting ECONNRESET error in NodeJS for Bing Speech to Text service

I am trying to use bing speech to text service from Node. Getting below error while streaming .wav file. Highly appreciate any help. events.js:154 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at…
raserside
  • 43
  • 2
4
votes
1 answer

Correct Key for Microsoft Cognitive API

I am currently trying to do a News Search on the MS Cognitive Services Bing Search API. I have read many docs, but seem to be stuck. Here is the code I'm using: $url = 'https://bingapis.azure-api.net/api/v5/news/search?q=microsoft&mkt=en-us'; $key =…
stml
  • 133
  • 1
  • 11
3
votes
0 answers

Azure OpenAI latency spikes (3-20 minutes!)

We're prototyping a chatbot application using Azure OpenAI gpt-3.5-turbo model using the standard tier. We're facing random latency bursts, which sometimes go between 3-20 minutes. Below I have screenshots with the metrics provided by the portal. As…
3
votes
1 answer

How to fix Microsoft Cognitive Speech error "Failed to initialize platform (azure-c-shared)"?

I am using Microsoft.CognitiveServices.Speech (https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech) in Unity. In the editor with a Windows target everything works perfectly, but I get an error in a Dedicated Server build for Linux…
dclipca
  • 1,739
  • 1
  • 16
  • 51
3
votes
0 answers

Create a correct wav audio format to send to Azure Cognitive Service Speech/Translation SDK width MediaRecorder and SignalR

Instead of directly using the Azure Cognitive Services JS SDK on my web page, I need to send my recorded sound to my server through SignalR to apply some logic and then send the audio to Translation SDK. To stream the audio from the client I'm using…
3
votes
2 answers

Extracting data from a invoice PDF to my datasource using azure/cognitiveservices-computervision

I am building a demo application for reading an invoice pdf using the OCR library provided by Microsoft for NodeJS. The data are extracting well but I got stuck in one point. In the invoice pdf doc the amount, quantity is in tabular format. So I am…
Utpal
  • 805
  • 4
  • 15
  • 44
3
votes
1 answer

How to get PII Entities for non-text field in Azure search

I've created a Azure search Blob Index whose model looks somewhat like the below JSON on search "value": [ { "@search.score": 1, "metadata_storage_content_type": "application/octet-stream", "masked_text":…
3
votes
1 answer

Return an OCR'd PDF File (with text overlay) from Azure Cognitive Services Read

I have implemented Azure Cognitive Read service to return extracted/OCR text from a PDF. However, to make it easier for the user to understand the context/copy and paste data from the PDF i would like to overlay that text data over the PDF. I would…
Rob
  • 61
  • 1
3
votes
1 answer

How to use Webhook for Microsoft cognitive Speech to Text V3

I'm trying to understand how to use a webhook in microsoft speech to text V3. According to the docs i was able to create a webhook and ping it. Now whenever a transcription is complete the webhook is called, but the body object in request is empty…