# How do we extract entities in end-to-end learning?

**URL:** <https://forum.rasa.com/t/how-do-we-extract-entities-in-end-to-end-learning/38169>\
**Category:** Rasa Open Source\
**Created:** [December 17, 2020, 4:40pm UTC](https://forum.rasa.com/t/how-do-we-extract-entities-in-end-to-end-learning/38169 "2020-12-17T16:40:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![inthematrix](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/inthematrix/32/12458_2.png) [@inthematrix](https://forum.rasa.com/u/inthematrix)\
**Post date:** [December 17, 2020, 4:40pm UTC](https://forum.rasa.com/t/how-do-we-extract-entities-in-end-to-end-learning/38169/1 "2020-12-17T16:40:18Z")

</div>

As part of [We’re a step closer to getting rid of intents](https://blog.rasa.com/were-a-step-closer-to-getting-rid-of-intents/), the training example towards the end of the post:

```auto
version: "2.0"

stories:
- story: end to end happy path
  steps:
  - user: “hi”
  - bot: “hi!”
  - user: “I’m looking for a restaurant”
  - bot: “how about Chinese food?”
  - user: “sure”
  - bot: “here’s what I found ...”

```

Was wondering how to extract entities like cuisine (chinese in this case)?

---

<div class="post-metadata">

**Author:** ![Ghostvv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ghostvv/32/211_2.png) [@Ghostvv](https://forum.rasa.com/u/Ghostvv)\
**Post date:** [December 21, 2020, 10:21am UTC](https://forum.rasa.com/t/how-do-we-extract-entities-in-end-to-end-learning/38169/2 "2020-12-21T10:21:26Z")

</div>

> [@End-to-end Training \[Experimental\]](https://forum.rasa.com/t/end-to-end-training-experimental/38158/3):
>
> Was wondering how to extract entities like cuisine (chinese in this case)?

Please take a look at the docs for how to create stories for e2e training: [https://rasa.com/docs/rasa/training-data-format#end-to-end-training](https://rasa.com/docs/rasa/training-data-format#end-to-end-training)

You can mark entities in user text in the same way, you mark entities in the NLU data

```auto
version: "2.0"

stories:
- story: end to end happy path
  steps:
  - user: “hi”
  - bot: “hi!”
  - user: “I’m looking for a restaurant”
  - bot: “how about [Chinese](cuisine) food?”
  - user: “sure”
  - bot: “here’s what I found ...”

```
