How to train my app using dialogflow API's? - dialogflow-es

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

Related

DialogflowSDK nodejs

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?

Is it possible to use multiple LUIS application in single bot services?

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!!

How to connect an external data base from dialogflow (GCP)

To summarize the issue, I have an application which has integration with dialogflow. In dialog flow I have configured the intent. For each intent I have created a webhook.
Wanted to understand if I have to return data from a data base along with the fullfilment for the intent what will be the best way to do?

Can one import a DialogFlow agent into LUIS

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

ChatBot QnaMaker(Microsoft Azure) vs Lex (Amazon AWS)

Looking to make a chatbot on either Microsoft QnaMaker or Lex.
I would like to be able to make API calls to request answer to the question (node.js), train the bot using the API.
Currently I am using QnaMaker but unfortunately it doesn't seem to have response cards where user can click on it.
I know that Amaazon Lex allows this but do they allow training of bot through API?
Yes, you can make intents, put utterances and slots using the API's.
Lex support two types of API's - Model Building API and Runtime API. What you need is Model Building API.
As you are working with node.js, you should be referring this page and read more and more about putIntent() method.
Hope it helps.

Resources