Skip to main content
Community site session details

Community site session details

Session Id : 4xC9IcZv4DSg2CCzyuPObS
Copilot Studio - Topic Creation & Management
Answered

Custom Entity and Slot-Filling Issues

Like (0) ShareShare
ReportReport
Posted on 25 Mar 2024 19:30:53 by 61

I have created a Custom entity for classes with list items such as 'Java', 'HTML', 'Javascript' etc.

 

I have a topic trigger such as "When is the next Java class scheduled for?".

 

Immediately after the topic trigger I have a question "What class are you interested in?"

 

Now if my chatbot input is "When is the next Java class scheduled for" the class entity is properly slot-filled and the question is skipped.

 

However if I use java, JAVA etc, in the chatbot input the slot-filling does not happen because of a change in case and the question is asked.

 

If I answer the question as java or JAVA that works, it ties it back to Java and the flow proceeds.

 

How can slot-filling be done without having to worry about the case used for the entity in the chatbot input?

 

Appreciate any feedback. Thanks.

 

 

 

 

  • adilei Profile Picture
    on 03 Apr 2024 at 17:14:11
    Re: Custom Entity and Slot-Filling Issues

    Let me test this

  • akashindori1234 Profile Picture
    61 on 02 Apr 2024 at 09:40:07
    Re: Custom Entity and Slot-Filling Issues

    Ok, maybe I was not going crazy after all. Case matching on custom entities is only happening for the 'Item' column on the custom entity screen. Case matching does not happen for the 'Synonyms' column. This is an issue.

     

    On further testing I found, if the synonym is in lowercase, case matching happens OK regardless of whether the entity is typed in lower or upper case.

     

    If the synonym use the right capitalization for example WHO for 'World Health Organization' and if the user inputs 'who' the entity is not recognized. 

  • akashindori1234 Profile Picture
    61 on 29 Mar 2024 at 15:11:16
    Re: Custom Entity and Slot-Filling Issues

    Thanks so much!

     

    At the expense of sounding crazy, it is working now. I made no changes to the my topic and it is extacting the entity without any issues with the case and slot-filling.

     

    I was not working for the day I opened up the support request here and the day after that where I was trying everything under the sun to get it going.

     

    As if a bug was fixed in the Copilot source code and updated.

     

    Thanks again. This is a big relief.

  • Verified answer
    adilei Profile Picture
    on 29 Mar 2024 at 14:39:59
    Re: Custom Entity and Slot-Filling Issues

    Tested this myself, and in my environment case sensitivity isn't an issue (see below).

     

    Can you export your copilot with pac copilot extract-template?

     

    adilei_0-1711723059820.png

     

  • akashindori1234 Profile Picture
    61 on 29 Mar 2024 at 13:21:58
    Re: Custom Entity and Slot-Filling Issues

    Project is stuck here, any help/workaround is appreciated. 

     

    Deploying the chatbot on a public facing website and don't have the option of asking folks to type using only in lower case as some of the other solutions seem to suggested.

     

    There is to be a way to address this very basic requirement.

  • akashindori1234 Profile Picture
    61 on 26 Mar 2024 at 15:39:30
    Re: Custom Entity and Slot-Filling Issues

    If felt case might not be an issue in the published bot. However that is not the case. Slot filling only happens if the case matches the one in the entity list.

  • akashindori1234 Profile Picture
    61 on 26 Mar 2024 at 15:30:25
    Re: Custom Entity and Slot-Filling Issues

    Yes, no luck with smart matching.

     

    The entity is not matched if there is no exact match in the entity list.

     

    I can input different cases in the enity list synonyms and it works when testing within copilot studio but I am not able to publish the bot.

  • peterswimm Profile Picture
    Moderator on 26 Mar 2024 at 15:24:25
    Re: Custom Entity and Slot-Filling Issues

    Have you tried creating a list entity for the types of classes with smart matching enabled?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Featured topics

Loading complete