跳到主要內容

發表文章

目前顯示的是有「Cognitive Service」標籤的文章

[Bot Framework] Azure Bot Service with QnA Marker

How to make a bot with QnA Marker on Azure and let it speak through Cortana: Step1. Create a bot service on azure. Step2. Select the Basic template Step3. Open Project.json and make sure Microsoft.Bot.Builder.Azure is higher than 3.2.2 {   "frameworks": {     "net46":{       "dependencies": {         "Microsoft.Bot.Builder.Azure": "3.2.2"       }     }    } } Step4. Open EchoDialog.csx Step5. Override StartAsync to: Step6. Override MessageReceivedAsync to process incoming messages and get answer from QnA Maker Step7. Add the following code to get answer from QnA Marker

[疑難排解] Luis 無法使用Azure上訂閱的 subscription key

關於Luis的服務 微軟一開始會給我們一個 BootstrapKey 讓我們免費試用1000次 但如果超過額度之後想要繼續Luis的服務的話 我們就需要在Azure上架個luis service並且訂閱一把subscription sky 然後再發布Luis app的時候導入這把key 如果架設的service位置並非是預設的 westus https://westus.api.cognitive.microsoft.com . 那我們就需要特別指定 domain domain: "southeastasia.api.cognitive.microsoft.com" 所以我們原來的Luis dialog就需改成 [ LuisModel ( "32ba38ec-3404-4e68-84c8-126e3453daf" , "c467b6erterte5d394aeac8d66a" , domain: "southeastasia.api.cognitive.microsoft.com" )] [ Serializable ] public class RootLuisDialog : LuisDialog < object > REF:https://github.com/Microsoft/BotBuilder/issues/2998