Skip to main content

Notifications

Copilot Studio - General
Unanswered

Limit for Multi-slot

Posted on by

Is there a limit on how many entity slots can be filled in one utterance? For example, could a user say "I want to book a trip for 2 passenger on an Acela train for business class on February 27th and it would capture <2 passengers>, <Acela>, <business class>, and <February 27>?

Categories:
  • brianali Profile Picture
    brianali on at
    Re: Limit for Multi-slot

    @cchannon do you have any leads on this? ^

  • brianali Profile Picture
    brianali on at
    Re: Limit for Multi-slot

    @cchannon hmmm didn't work for me when I tried giving an intent "transfer $40 from savings to checking", it didn't bypass the two questions about from and to account, it only bypassed the amount.

    brianali_0-1709140114264.png

     

  • cchannon Profile Picture
    cchannon 4,671 on at
    Re: Limit for Multi-slot

    Sure, you would just create two custom entities: FromAccount and ToAccount. When the framework classifies entities, it does so in context, so it is aware of the rest of the sentence when it is trying to classify "Checking" and "Savings".

     

    That said, this is also a good example of something to be cautious with because while the framework will probably have no problem at all with this specific problem, its accuracy might start to degrade quickly if you were also asking it to identify SecondaryAccount and TertiaryAccount and BackupAccount, etc.

  • brianali Profile Picture
    brianali on at
    Re: Limit for Multi-slot

    @cchannon Thanks for this detailed answer! It makes sense that the more entity types that could match, the harder it will be for the model to determine which entity you are trying to fill.

     

    Side question, do you see a way Copilot Studio could handle an utterance like "I want to transfer from a checking to a savings account" and be able to fill a "from account" and a "to account" if the entity is the same type for both (account type)?

  • cchannon Profile Picture
    cchannon 4,671 on at
    Re: Limit for Multi-slot

    There is no hard limit that I am aware of, and there is none documented in the service quotas and limits or the Entities documentation pages.

     

    However, there is a practical limit on this kind of extraction. The model in question is putting out a reasonable prediction:

    • First, that a word or group of words is an entity
    • Second, which of the OOB + Custom entities it belongs to

    That second part is the tricky bit because the more entity types that it could match, the higher the likelihood that you'll 'confuse' the model and get inaccurate results. This is an inescapable statistical reality. So, if you keep adding a whole ton of custom entities what you'll eventually find is that the model accuracy degrades. There's no way to say when or how fast, but eventually you'll start to see the performance drop.

     

    So, again, there is no hard cap I know of, but if you're thinking of trying to use this to extract hundreds of distinct custom entity types, this is not the right solution for you.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,006

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard