Skip to main content

Notifications

Power Platform Community / Forums / General / Multiple entities in t...
General
Answered

Multiple entities in the same question

Posted on by 15

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

  • ansrikanth Profile Picture
    ansrikanth 15 on at
    Re: Multiple entities in the same question

    Hi

     

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

     

    -Srikanth

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Multiple entities in the same question

    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)

  • ansrikanth Profile Picture
    ansrikanth 15 on at
    Re: Multiple entities in the same question

    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

  • renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Multiple entities in the same question

    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.

  • DeepakS Profile Picture
    DeepakS 8 on at
    Re: Multiple entities in the same question

    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, 

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,700

Leaderboard