I am creating Intents using Dialogflow SDK. I am able to create custom follow-up intents and fallback intents. But I am not seeing any format for creating Yes/No intent with all the built-in training phrases.
How can I create Yes/No follow-up intents with all the built-in training phrases using SDK?
Related
I want to add custom payload to every intents to identify the type of two chatbots for analytics with biqquery. They are currently separated by region, so there is no tag for distinguishing these two bots in json files when exporting. Is there a way to add the same custom payload to every intents in google dialogflow es without adding them manually?
I have a Azure Bot Service and it is integrated with LUIS application where i have some intents.
What I want according to my need i can forward same examples to different intents in LUIS.
But there is limitation that same example can't be there for multiple intents.
So i created another application in the LUIS and created the same example but different intent name.
Here my problem is i have to connect Single Bot service with two different LUIS application.
Can i do it in Azure Bot Services in Node.js??
Yes, it is absolutely possible to make use of multiple LUIS applications in one bot. The dispatch tool helps to determine which LUIS model best matches the user input. The dispatch tool does this by creating a single LUIS app to route user input to the correct model. Also, ensure that you do not have overlapping intents and make use of prediction data from LUIS to determine if your intents are overlapping.
The dispatch model is used in cases when:
Your bot consists of multiple modules and you need assistance in routing user's utterances to these modules and evaluate the bot integration.
Evaluate the quality of intents classification of a single LUIS model.
Create a text classification model from text files.
Refer to this sample, which is an NLP with Dispatch bot dealing with multiple LUIS models and also this documentation that provides more information about using multiple LUIS and QnAMaker models.
Hope this helps!!
I am exploring Composer. I already use bot-framework c# model in Azure that connects with LUIS. We developed a one step FAQ bot (not multi-turn conversations) with only one main dialog. We used to extract the Luis intent and score whenever users type a text. We get answer from a SharePoint list for FAQs by passing the identified LUIS Intent as a column filter.
Is it possible to do the same in Composer to get the intent identified and score for each input we get from user.?
Also, instead of training the LU model in composer, can we train the utterances in the LUIS portal and consume the same intent/score in composer?
Yes it is possible to use Luis inside Bot Framework Composer to recognize intents and do entity extractions. Bot Framework Composer allows you to put conditions on the recognized intents which you can use to make sure the next steps only fire when the score is >= x.
You can see how to use this in action and how the scoring works here (starting at 27:38):
https://youtu.be/ZNcfIgO8biw?t=1658
You can still make changes in the Luis portal, but at this time this is not recommended as your changes will be overwritten the next time you publish to Luis via Bot Framework Composer. If you make changes in the Luis portal directly, make sure to export the .lu and re-integrate your Luis model in Bot Framework Composer to not lose your changes.
I have a fully mature agent in DialogFlow with utterances, intents and entities. Is there a way to quickly bring this info over into a new app in Luis? I really don't want to reenter the information. I know DialogFlow allows for a zip export. Is this format recognized by Luis?
This format is not recognised per Luis but both Dialogflow and luis have APIs and you can use those APIs to extract the utterances from Dialogflow and then POST those into Luis
I want to train my app using API. I am using my own UI to validate the intents and just want to validate one by one for particular intent. To get intent I am using this api https://api.dialogflow.com/v1/query?v=20150910 but don't know how to train any particular intent for any sample.
There is no API for Dialogflow's training feature but you can accomplish the same result by looking at your logs and using Dialogflow's update intent API and passing in new (or removing) training phrases