Closed jvsriniv closed 6 years ago
@jvsriniv Thanks for the issue submission.
This sounds like there may be problem with the training samples used for your intents...
Here is the workspace.json
used in the demo. It contains all intents and training samples.
Please have a look at those. you can try pasting the contents of workspace.json
into something like https://jsoneditoronline.org/ so that you can more easily navigate the json object.
Thank you for the developerworks course and this example. I imported the conversation json in the resources folder as my workspace. That created the intents, entities and dialog flow as well as expected. I changed the conversation.js in the server code (commented the env) to get this working with IAM_apikey type of authentication and Watson Assistant.The conversation works perfectly. Please see below:
However, there is one issue with the intents as explained below. Please clarify. When I type "Zion" instead of "Mount Zion" like above, the #tellmeabout intent is not detected. i.e; the response only has in #yes and @NationalParks detected. Eventually, in the discoursehandler.js that interprets the response, the default case of the switch case is triggered. But this somehow results in "park" variable as undefined. Please see below.
Can you tell me the exact intents that you used for your application's (http://nationalparks.mybluemix.net/) workspace ?
I tried the workspace also directly and please find the intents detected.