Intents as feature

Mishra, Vinayak-ZA 1 Reputation point
2021-07-19T16:04:18.517+00:00

Can we use an intent as a feature for an entity. Basically i want to restrict my entity to a particular intent. how can i do so??

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,837 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 51,701 Reputation points
    2021-07-19T23:54:57.037+00:00

    Hello,

    I don't think there is kind of intent as feature for an entity. You can do use entities as a signal for an intent. For example, the presence of a certain entity in the utterance can distinguish which intent does it fall under. Is this what you want?

    https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-entity-types#entities-as-features-for-intents

    To do this, you need to create your own intents and entities first. To add an entity as a feature to an intent, select the intent from the Intents page, then select + Add feature above the contextual toolbar. The list will include all phrase lists and entities that can be applied as features.

    https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-add-features#model-as-a-feature

    Giving my example here, I have intent - buyaticket and entity - city and I want to set city as a feature for intent - buyaticket. I have created those two items and add the entity as feature of intent.
    116064-image.png

    Regards,
    Yutong


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.