Reputation: 41
I have few intents which are getting trigger on the inappropriate User input. Below are a few examples.
Intent 1). Training phrases I have given
- When will I get a job abroad?
- Is there any possibility that I will be settled in foreign
- When will I settle in foreign
This intent is getting called for user input I had a fight with my friend, will it settle down
Intent 2). Training phrases I have given
- When my financial problems will over
- Tell me about my financial condition
- How will be my financial condition in the future
- What will be my financial condition
This intent is getting called for user input When my family problems will over
Please help me out to handle these scenarios.
Upvotes: 0
Views: 210
Reputation: 4075
According to this documentation, you should use at least 10-20 trainning phrases.
You don't have to define every possible example, because Dialogflow's built-in machine learning expands on your list with other, similar phrases. You should create at least 10-20 (depending on complexity of intent) training phrases, so your agent can recognize a variety of end-user expressions. For example, if you want your intent to recognize an end-user's expression about their favorite color, you could define the following training phrases:
- "I like red"
- "My favorite color is yellow"
- "black"
- "Blue is my favorite"
- ...
Given that, to increase the assertiveness of your intents I'd recommend you creating more training phrases and focus them in the main terms necessary in your problem.
Upvotes: 1