Hi
Started exploring the PVA recently. Was wondering if there is any way to capture multiple entities in the same question.. as far as I explore, I don't see an option.. but I can see lot of potential for that.. for ex: 1000$ per month (1000, month as 2 entities).
Is there any other alternate for this (Except custom Skills)?
Thanks
-Srikanth
Solved! Go to Solution.
I reproduced your scenario, but the maximum value got is 2 entities, you can configure your scenario as I will send here:
- Create an entity called Currency with items "GBP, Dollar, EUR" and insert some synonymous like "US$, euro, Dollar" inside each parameter to your chatbot understand synonymous for each item.
- Create an entity called Period with items "year, month" and insert some synonymous like "yearly, monthly"
- Inside your topic, create the first question with Identity using the Money entity (is created by default inside your environment)
- Create the second question with Identity using the Period entity
- Create the third question with Identity using the Currency entity
Maybe your conversation will follow these steps:
bot => What is your sal?
user => 5000 GBP per month
bot => thanks, pay period? (but will not send this question to the user because he understands the Money equals to 5000 and Period equals to Month)
bot => What is the currency? (the chatbot will send this question because he cannot get the currency parameter inside the message)
Hi @ansrikanth
I dont think you can use multiple entity in one question , but its good idea.
Alternatively you can achieve this with two questions:
Q1-What is your salary?
Q2- Pay Period?
Regards,
Hi @ansrikanth ,
If you are working with entities and some fixed/synonymous values, your chatbot maybe will understand the entities.
E.g.
1st question - What is your currency? (options: dollar, yan, ... )
2nd question - What is the payment method? (options: money, credit card)
And if the user sends "dollar money", your chatbot will maybe understand but is not a 100% correctly, maybe your chatbot will show the question to the user the question depends on the scenario.
Hi @DeepakS Thanks for the reply. That's exactly what I'm doing now.. but imagine from end user point of view..
bot => What is your sal?
user => 5000 GBP per month
bot => thanks, pay period?
user => I told it is monthly 🙂
if you see the response 1 of user, there is potential to capture 3 entities a)Money b)Currency c)Period but all I can capture is just Money... it would be super useful if we can capture more than 1 entity really.. isn't it?
Thanks again..
Srikanth
I reproduced your scenario, but the maximum value got is 2 entities, you can configure your scenario as I will send here:
- Create an entity called Currency with items "GBP, Dollar, EUR" and insert some synonymous like "US$, euro, Dollar" inside each parameter to your chatbot understand synonymous for each item.
- Create an entity called Period with items "year, month" and insert some synonymous like "yearly, monthly"
- Inside your topic, create the first question with Identity using the Money entity (is created by default inside your environment)
- Create the second question with Identity using the Period entity
- Create the third question with Identity using the Currency entity
Maybe your conversation will follow these steps:
bot => What is your sal?
user => 5000 GBP per month
bot => thanks, pay period? (but will not send this question to the user because he understands the Money equals to 5000 and Period equals to Month)
bot => What is the currency? (the chatbot will send this question because he cannot get the currency parameter inside the message)
Keep up to date with current events and community announcements in the Power Virtual Agents community.
A great place where you can stay up to date with community calls and interact with the speakers.
User | Count |
---|---|
4 | |
3 | |
2 | |
2 | |
2 |