# Typology question

**URL:** <https://forum.rasa.com/t/typology-question/28216>\
**Category:** Rasa Open Source\
**Created:** [April 29, 2020, 3:43pm UTC](https://forum.rasa.com/t/typology-question/28216 "2020-04-29T15:43:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liloup1789](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/liloup1789/32/2894_2.png) [@liloup1789](https://forum.rasa.com/u/liloup1789)\
**Post date:** [April 29, 2020, 3:43pm UTC](https://forum.rasa.com/t/typology-question/28216/1 "2020-04-29T15:43:25Z")

</div>

Hello, I have this scenario :

> ```
> user : I can't pay with my mastercard on your site !! 
> intent = payment refused 
> entities = payment_tool:mastercard
> agent : is there an error message on the screen ? 
> slots : {payment_tool:mastercard} 
> policy : {ask for missing slots}
> 
> user : Nope, nothing 
> intent : payment refused, no
> agent : you can try with paypal, it's safer
> slots : { tool : mastercard; error_message: no }
> policy : {offer alternative}
> 
> user : I don't want to pay with Paypal !! 
> intent : payment refused, alternative refused
> entities : ??? 
> agent : OK, I understand, I invite you to try again later then. 
> slots : {tool: mastercard, error_message : no, paypal:refused} 
> policy {accept, suggest to} 
> 
> ```

My question is : how do you ‘tag’ in the intents and in the response utterances, the entities : paypal refused and try again later ?

Best

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [April 30, 2020, 7:55am UTC](https://forum.rasa.com/t/typology-question/28216/2 "2020-04-30T07:55:16Z")

</div>

As mentioned [here](https://rasa.com/docs/rasa/core/stories/#what-makes-up-a-story), you can use something like - `intent{"entity1": "value", "entity2": "value"}` to have entities featurized as part of your stories.

---

<div class="post-metadata">

**Author:** ![liloup1789](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/liloup1789/32/2894_2.png) [@liloup1789](https://forum.rasa.com/u/liloup1789)\
**Post date:** [April 30, 2020, 8:19am UTC](https://forum.rasa.com/t/typology-question/28216/3 "2020-04-30T08:19:17Z")

</div>

Hello, thanks. But do you agree that entity and slot are two different objects even though sometimes they have the same form ?
