cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ansrikanth
Resolver III
Resolver III

Multiple entities in the same question

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

1 ACCEPTED SOLUTION

Accepted Solutions

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)


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

5 REPLIES 5
DeepakS
Resident Rockstar
Resident Rockstar

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, 

renatoromao
Super User
Super User

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.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

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)


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Hi

 

Thanks for this @renatoromao , let me try and get back to you ..

 

-Srikanth

Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,377)