Hi @xavidop ,
In dialogflow cx, how can we match the intents not only with the training phrases we added but also analyzing the context of the user prompt?
For example, Here I'm having two scenarios like 1) login issue and 2) project access in some platform.
I added basic training phrases for both.
For login issue--> "I'm trouble login to jira", "login issue"
For project access --> "I need access for the project", "Please add me to the project"
If the user says, "I cannot access jira. Could you please help me?"
This gets into project access flow. But the context related to login issue flow.
How can we match intent based on the context?
Thanks in advance
Hi @Brindha,
Welcome to Google Cloud Community!
To effectively match intent based on context, Dialogflow CX uses certain methods. This includes:
By combining these methods, Dialogflow CX is able to understand the user's intent and provide the most relevant response. This results in a more natural and engaging conversation experience for the user.
In addition, I recommend following the best practices for Dialogflow CX as well.
I hope the above information is helpful.
Hi @Brindha for this case I recommend you to create entities for Login Issue (that can cover, I cannot access, etc) and also Jira as another entity
Then if the user says I cannot access Jira, you can trigger when someone says I cannot access Jira.
Then you can create an entity from code called context and you can save a value you want so then you can go on to the next intent and use this context parameter to nurture the best response.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |