microsoft-cognitive

Stream audio to Azure speech api by node.js on browser

混江龙づ霸主 提交于 2020-07-22 10:15:05
问题 I'm making a demo of speech to text using Azure speech api on browser by node.js. According to API document here, it does specify that it need .wav or .ogg files. But the example down there does a api call through sending byte data to api. So I've already get my data from microphone in byte array form. Is it the right path to convert it to byte and send it to api? Or is it better for me to save it as a .wav file then send to the api? So below is my code. This is stream from microphone part.

Regarding container of form recogniser,OCR and labeltool containers

 ̄綄美尐妖づ 提交于 2020-06-17 13:25:09
问题 We are trying to use the container preview of form recogniser,OCR and labeltool and have following questions: Is there any software which can help us to classify similar kind of documents. This will help us to categorize document and create training dataset Is there any way to give the model user-defined name. Following is output from model query API.It is difficult to tie it back to different kind of models: { "modelId": "f136f65b-bb94-493b-a798-a3e8023ea1b5", "status": "ready",

How to differentiate Bot to user AND user to Bot messages using middleware in bot builder sdk v4?

百般思念 提交于 2020-06-15 06:22:07
问题 I have implemented a middleware in sdk V4 Bot to intercept each message between bot & user and log that custom mongo Db. I am trying to implement similar concept for Bot built using SDK v4. Looks like I can use following piece of code to add a middleware but, not sure how to differentiate message between bot to user & user to bot. V3 bot code bot.use({ botbuilder: function (session, next) { logUserConversation(session) next() }, send: function (event, next) { logBotsConversation(event) next()

Unable to create knowledgebase for azure cognitive service (Error: “No Endpoint keys found.”)

≡放荡痞女 提交于 2020-05-13 14:31:07
问题 I am creating a new knowledge base connecting it to an already existing Azure Cognitive Service. But I am getting error: "No Endpoint keys found." when i click "Create KB". See capture of the error: My QnAMaker cognitive service has the endpoint 回答1: It seems that there is sometimes the problem that the endpoint keys can only be found, if the Resource Group holding all resources for the QnA Maker Service ( like App Service, Application Insights, Search Service and the Application Service Plan

Microsoft Cognitive Services - Speaker Recognition API - Identification - error

微笑、不失礼 提交于 2020-04-07 08:25:12
问题 In this API I had successfully created Identification Profile, as well as created enrollment successfully and checked the operation status and received successfully enrolled. Now I am trying to identify speaker but I am getting an error : b'{"error":{"code":"BadRequest","message":"Audio too long"}}' b'{"error":{"code":"BadRequest","message":"Audio too short"}}' I tried various voice samples with different sizes like 5-Second, 10-Second, 15-Second, 30-Second, 40-Seconds, 80-Seconds. And also