What I have done so far:
- Created a sample Microsoft Bot Framework project from here
- Created s sample LIUS application, with a few intents, entities and utterances.
- Have also tested the App in browser through the endpoint url, which seems to be working fine
The Problem(s):
I am having multiple problems, maybe they are trivial for an expert but i cant seem to get them resolved
- "Endpoint Hits Per Period" section, in the luis dashboard, doesn't show any hit when I perform step 3 above. (But I am still sure my Sample Bot Framework app is hitting the url, I verified it through live wire-shark trace.) Why is it not updating?
Emulator is showing this error. From where is this error coming, the application is crashing somewhere?:
"Exception: Response status code does not indicate success: 400 (Bad Request). [File of type 'text/plain']"
I am unable to have any insight into the project as to what response is coming from luis, where can I write a debug line to see the request and response?
Here is my code:
[LuisModel("b5439fa6-5be1-4680-bc46-379698e780ed", "045c3ef0bfc14040b7b35079ea030a98", domain: "westus.api.cognitive.microsoft.com")]
[Serializable]
public class RootDialog : LuisDialog<object>
{
public RootDialog()
{
}
public RootDialog(ILuisService service)
: base(service)
{
}
[LuisIntent("")]
public async Task None(IDialogContext context, LuisResult result)
{
<some code written here>
}
[LuisIntent("FAQs.Data.Coverage")]
public async Task Coverage(IDialogContext context, LuisResult result)
{
<some code written here>
}
[LuisIntent("FAQs.Data.Info")]
public async Task Info(IDialogContext context, LuisResult result)
{
<some code written here>
}
[LuisIntent("FAQs.Data.Package")]
public async Task Package(IDialogContext context, LuisResult result)
{
<some code written here>
}
[LuisIntent("FAQs.Data.PhoneSupport")]
public async Task PhoneSupport(IDialogContext context, LuisResult result)
{
<some code written here>
}
}