# How can I extract entity role, entity group from slot

**URL:** <https://forum.rasa.com/t/how-can-i-extract-entity-role-entity-group-from-slot/28667>\
**Category:** Tutorials, Resources & Videos\
**Tags:** entity\
**Created:** [May 11, 2020, 3:49am UTC](https://forum.rasa.com/t/how-can-i-extract-entity-role-entity-group-from-slot/28667 "2020-05-11T03:49:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![edubrigham](https://avatars.discourse-cdn.com/v4/letter/e/4af34b/32.png) [@edubrigham](https://forum.rasa.com/u/edubrigham)\
**Post date:** [May 31, 2020, 11:18am UTC](https://forum.rasa.com/t/how-can-i-extract-entity-role-entity-group-from-slot/28667/7 "2020-05-31T11:18:19Z")

</div>

Thank you 🙏 😊

Indeed i was doing something stupid! fixed it and now slots get filled:

```
Chat History

 # Bot You
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 1 action_listen
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 2 [1]{"entity": "itemQty", "role": "orderItem1", "group": "1"} [coke]{"entity": "itemName", "role": "orderItem1", "group": "1"} and [1]{"entity": "itemQty",
                                                                             "role": "orderItem2", "group": "2"} [beer]{"entity": "itemName", "role": "orderItem2", "group": "2"} pls
                                                                                                                                                          intent: itemName_order 1.00
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 3 restaurant_form
      1coke
      1beer

Current slots:
	feedback: None, itemName: None, itemQty: None, preferences: None, requested_slot: None, tableNum: None

------
2020-05-31 13:15:36 DEBUG rasa.core.tracker_store - Recreating tracker for id '1d3b4069cbd241fa96304e98e50719d3

```

and action server prints:

```
(venv) (base) rasa run actions -v -vv
2020-05-31 13:15:06 INFO rasa_sdk.endpoint - Starting action endpoint server...
2020-05-31 13:15:06 INFO rasa_sdk.executor - Registered function for 'restaurant_form'.
2020-05-31 13:15:06 DEBUG rasa_sdk.utils - Using the default number of Sanic workers (1).
2020-05-31 13:15:35 DEBUG rasa_sdk.executor - Received request to run 'restaurant_form'
Order1 1coke
Order2 1beer
2020-05-31 13:15:35 DEBUG rasa_sdk.executor - Finished running 'restaurant_form'
```

---

_[View the full topic](https://forum.rasa.com/t/how-can-i-extract-entity-role-entity-group-from-slot/28667)._
