# Entities

**URL:** <https://forum.rasa.com/t/entities/24114>\
**Category:** Rasa Open Source\
**Created:** [January 29, 2020, 10:51am UTC](https://forum.rasa.com/t/entities/24114 "2020-01-29T10:51:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![haneef](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/haneef/32/6613_2.png) [@haneef](https://forum.rasa.com/u/haneef)\
**Post date:** [January 29, 2020, 10:51am UTC](https://forum.rasa.com/t/entities/24114/1 "2020-01-29T10:51:11Z")

</div>

Hi all,

My intent is :-

```auto
## intent:with_whom
- book with [mhaneef@provenconsult.com](att_email)
- book with [tsheikh@provenconsult.com](att_email)
- book with [lverma@provenconsult.com](att_email)
- with [ssheikh@provenconsult.com](att_email),[msuaib@provenconsult.com](att_email),[ysai@provenconsult.com](att_email) and [uatre@provenconsult.com](att_email)

```

My story is :-

## attendies flow

- with\_whom

And my action file is :-  
class ActionWithWhom(Action):

```
def name(self):

    return "action_with_whom"

def run(self, dispatcher, tracker, domain):

    print('this is all attendies ',tracker.latest_message['entities'])

    dispatcher.utter_message('your room is booked fake 2')

```

And problem is when i am saying "book with [lverma@provenconsult.com](mailto:lverma@provenconsult.com) and [mhaneef@provenconsult.com](mailto:mhaneef@provenconsult.com) but i am getting only one last entity why one only? i need both. in dialogflow they automatically gives you the array of entity with auto generated entity names with all values but in rasa how we can get all etities values???

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [January 29, 2020, 4:34pm UTC](https://forum.rasa.com/t/entities/24114/2 "2020-01-29T16:34:44Z")

</div>

You should change `att_email` to a [list slot](https://rasa.com/docs/rasa/core/slots/#list-slot):

```auto
  att_email_list:
    type: list

```

---

<div class="post-metadata">

**Author:** ![haneef](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/haneef/32/6613_2.png) [@haneef](https://forum.rasa.com/u/haneef)\
**Post date:** [January 29, 2020, 6:04pm UTC](https://forum.rasa.com/t/entities/24114/3 "2020-01-29T18:04:33Z")

</div>

@stephens it’s not working, it’s only giving me single entity value and att\_email slots giving None value.

Like when i am asking below request then only one entity is extracting why not second one???

Request :- “book with [tshiekh@provenconsult.com](mailto:tshiekh@provenconsult.com) and [mhaneef@provenconsult.com](mailto:mhaneef@provenconsult.com)”.

Entity Response :- ‘entities’: [{‘start’: 40, ‘end’: 65, ‘value’: ‘mhaneef@provenconsult.com’, ‘entity’: ‘att\_email’, ‘confidence’: 0.4482402619514166, ‘extractor’: ‘CRFEntityExtractor’}]"

Slots Response :- {‘att\_email’: None}

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [January 29, 2020, 7:17pm UTC](https://forum.rasa.com/t/entities/24114/4 "2020-01-29T19:17:51Z")

</div>

Please paste your `domain.yml` file.

---

<div class="post-metadata">

**Author:** ![haneef](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/haneef/32/6613_2.png) [@haneef](https://forum.rasa.com/u/haneef)\
**Post date:** [January 29, 2020, 7:40pm UTC](https://forum.rasa.com/t/entities/24114/5 "2020-01-29T19:40:18Z")

</div>

@stephens ok, Here it is:-

intents:

- room\_booking

- affirm

- greet

- deny

- goodbye

- booking\_date

- booking\_time

- validate\_card

- validate\_face

- ok

- with\_whom

actions:

- action\_default\_fallback

- utter\_goodbye

- action\_ask\_face\_and\_take\_card\_pic

- action\_ask\_for\_date\_and\_take\_face\_pic

- action\_booking\_date

- utter\_ask\_time

- action\_booking\_time

- action\_validate\_card

- action\_validate\_face

- utter\_ask\_face

- action\_greet

- action\_room\_booking

- action\_restarted

- action\_with\_whom

entity:

- booking\_date\_value

- att\_email

slots:

save\_username:

```
auto_fill: false

type: unfeaturized

```

save\_booking\_date:

```
auto_fill: false

type: unfeaturized 

```

last\_intent:

```
auto_fill: false

type: unfeaturized

```

is\_validate:

```
auto_fill: false

type: unfeaturized       

```

att\_email:

```
type: list   

```

templates:

utter\_ask\_face:

- text: Thanks for your card verification. Is it okay if I take your picture for completing the validation?

utter\_goodbye:

- text: ok no problem bye bye.

utter\_ask\_time:

- text: Ok now tell me at what time you need room on {save\_booking\_date}. Please tell me your time slot?(i.e 10 am to 10:30 am)

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [January 30, 2020, 10:53pm UTC](https://forum.rasa.com/t/entities/24114/6 "2020-01-30T22:53:15Z")

</div>

Try using Duckling instead of Custom Entities (`CRFEntitiesExtractor`).
