microsoft-cognitive

Mapping Luis Entities to Dialog Fields

非 Y 不嫁゛ 提交于 2019-12-13 06:44:31
问题 I'm having trouble getting my Luis Entities to bind to my FormFlow fields so I can skip steps in the FormFlow. A simplified version of my FormFlow dialog is as follows [Serializable] public class DoSearch { public string SearchTerm; public static IForm<DoSearch> BuildForm() { var builder = new FormBuilder<DoSearch>(); return builder .Message("Search Function") .Field(nameof(DoSearch.SearchTerm)) .AddRemainingFields() .Confirm("Are you sure you wish to search for {SearchTerm} ?") .Build(); } }

Azure Cognitive Services - Face API Response: Reserved Fields or Bugs?

白昼怎懂夜的黑 提交于 2019-12-13 04:13:18
问题 In the Azure Cognitive Services Face API (see e.g. https://azure.microsoft.com/en-us/services/cognitive-services/face), the following response fields never seem to trigger: headPose:pitch (reserved field) foreheadOccluded eyeOccluded Am I misusing these, or is there a plan for them, or is there no plan to activate them? 回答1: If you look at the API documentation here: For the headPose , it says: EDIT 13/06/2019: doc was saying HeadPose's pitch value is a reserved field and will always return 0

401 access denied with cognitive-services keys (not azure account)

跟風遠走 提交于 2019-12-13 00:36:54
问题 I would like to test cognitive-services "face detect" I created an account in : https://www.microsoft.com/cognitive-services/en-US/subscriptions with Face-Free soubscription : ok I have 2 keys (not azure account) now, I am trying to test in API Face Detect online : https://westeurope.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236/console All my keys return 401 Sorry for my bad english : but where I have false ? With best regards Francis

how to intercept messages in botbuilder sdk v4 using middleware?

徘徊边缘 提交于 2019-12-12 23:05:48
问题 I have a Bot running on botbuilder V3 where I am using a middleware explained here to intercept the messages. bot.use({ botbuilder: function (session, next) { myMiddleware.logIncomingMessage(session, next); }, send: function (event, next) { myMiddleware.logOutgoingMessage(event, next); } }) We are planning to migrate on sdk v4 so looking for similar capabilities in sdk v4. Are there any ? I didn't find example on this page. 回答1: The BotAdapter base class exposes the use method to register

Using different Microsoft Cognitve servers with one access key

梦想与她 提交于 2019-12-12 06:51:13
问题 FaceAPI services. Using inside ASP.NET MVC web application. Net Framework 4.6 In Apr/2017 I obtained free access key for FaceAPI, however, for some unknown for me reason i could access only "West US" server (westus.api.cognitive.microsoft.com) and general server (api.cognitive.microsoft.com). Once i am trying to login into "West Europe" server i got error "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key."

use case for LUIS (Microsoft Cognitive Service)

瘦欲@ 提交于 2019-12-12 06:49:37
问题 we want to use LUIS to get the entities and intent from a user question and identify the entities that belong to our domain, so what we're doing is training LUIS with a lot of entities that comes from our context domain. Is this a valid and "correct" use of LUIS? Thanks 回答1: I'm creating a search engine to find in medical documents with a very specific terms. For this I'm training LUIS with this kind of words or tags as "entities". Yes you are right. The medical term you are referring to are

Cannot implicitly convert type 'Microsoft.ProjectOxford.Common.Contract.EmotionScores[]' to 'Microsoft.ProjectOxford.Emotion.Contract.Scores[]'

廉价感情. 提交于 2019-12-12 04:45:07
问题 I am trying to run the sample app. It worked once and after that one time I keep getting the error in the title in the following code line in MainWindow.xaml.cs EmotionScores = emotions.Select(e => e.Scores).ToArray() What can I do ? Thanks 回答1: The error message you get is pretty self-explanatory. You try to assign a reference to an array of Scores to a variable that can holds a reference to an array of EmotionScores . This cannot be done, because as it seems there isn't any implicit

Calling the face and emotion API at the same time

扶醉桌前 提交于 2019-12-12 04:20:02
问题 My goal is to take the live camera sample and create an app that uses the emotion api and the face api at the same time. Whenever it detects a face it should say Gender , Age , Emotion , Emotion detection confidance in a one string. I am having trouble with that because all of the function are async aurrnd it does frame analysis (analysis function) individually. Thanks for your help. 回答1: Hello from Cognitive Services - Face API dev team, we are going to support emotion analyze during

Translator Speech API Keys No Longer Show in Portal & Have Stopped Working

南楼画角 提交于 2019-12-12 03:38:32
问题 I have a free trial subscription to the Translator Speech API and recently I have been unable to view my Translator Speech keys in the Azure Portal. They've been replaced instead with an image of a dark cloud with one rain drop. I'm able to view my keys for my other service subscriptions so this issue seems to be isolated. I've also noticed that the key I was using previously is no longer working as I am now receiving 401 "Access Denied" Errors. It is my understanding that the free trial

How to get Microsoft Azure Speech To Text to start transcribing when program is run? (Unity, C#)

微笑、不失礼 提交于 2019-12-11 18:04:17
问题 I am trying to build a simple app using Microsoft Azure's Cognitive Services Speech To Text SDK in Unity3D. I've following this tutorial, and it worked quite well. The only problem with this tutorial is that the Speech-To-Text is activated by a button. When you press the button, it'll transcribe for the duration of a sentence, and you'll have to press the button again for it to transcribe again. My problem is I'd like it to start transcribing as soon as the program is run in Unity, rather