# 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:** 1

<div class="post-metadata">

**Author:** ![kksbell](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@kksbell](https://forum.rasa.com/u/kksbell)\
**Post date:** [May 11, 2020, 3:49am UTC](https://forum.rasa.com/t/how-can-i-extract-entity-role-entity-group-from-slot/28667/1 "2020-05-11T03:49:13Z")

</div>

as learning data of nlu.md file,

Give me a [small]{“entity”: “size”, “group”: “1”} pizza with [mushrooms]{“entity”: “topping”, “group”: “1”} and a [large]{“entity”: “size”, “group”: “2”} [pepperoni]{“entity”: “topping”, “group”: “2”}

How can I extract entity role, entity group from tracker slot in knowledge\_base?

---

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