# Entities are not being read

**URL:** https://forum.rasa.com/t/entities-are-not-being-read/51270
**Category:** Rasa Open Source
**Created:** [February 10, 2022, 6:32pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270 "2022-02-10T18:32:09Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![shruti\_1234](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@shruti\_1234](https://forum.rasa.com/u/shruti_1234)
#### Post date: [February 10, 2022, 6:32pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/1 "2022-02-10T18:32:09Z")

</div>

Rasa Version : 3.0.6 Minimum Compatible Version: 3.0.0 Rasa SDK Version : 3.0.4 Rasa X Version : None Python Version : 3.8.10 Operating System : Windows-10-10.0.18363-SP0

I want to create an application which searches does a google search on the basis of the user input. For example: User: find rasa Computer: [rasa - Google Search](https://www.google.com/search?q=rasa) the computer output is the one given by the created in rasa. I am able to do the same for the example keywords I have given in the nlu.md file but if I search for the keyword which is not in the examples in the nlu intent, the entity is not being picked.

This is my domain file: version: “3.0”

```auto
intents:
  - greet
  - goodbye
  - affirm
  - deny
  - mood_great
  - mood_unhappy
  - bot_challenge
  - tell_name
  - out_of_scope
  - my_name:
      use_entities:
        - search

entities:
  - search
slots:
  search:
    type: text
    influence_conversation: true
    mappings:
      - type: from_entity
        entity: search
 

responses:
  utter_greet:
  - text: "Hey! How can I help you"

  utter_cheer_up:
  - text: "Here is something to cheer you up:"
    image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
  - text: "Did that help you?"

  utter_happy:
  - text: "Great, carry on!"

  utter_goodbye:
  - text: "Bye"

  utter_iamabot:
  - text: "I am a bot, powered by Rasa."
  
  utter_name:
  - text: My name is Innovate Yourself.

  utter_ask_name:
  - text: What is your name?

  utter_ask_number:
  - text: What is your mobile number?

  utter_thanks:
    - text: Thanks for providing the values.

  utter_details_thanks:
    - text: "Your search for \nName: {Name}"

  utter_out_of_scope:
    - text: Sorry, I didn't get what you said. Please rephrase what you said.

actions:
  - action_submit

forms:
  user_details_form:
    required_slots:
      - search

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

```

---

<div class="post-metadata">

### Author: ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)
#### Post date: [February 10, 2022, 6:38pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/2 "2022-02-10T18:38:56Z")

</div>

Hello, @shruti_1234 and welcome to the forum!

Can you format the above code please using `</>`

Can you even share the `nlu.yml` file and actions.py file?

Are you following any tutorial for the same?

Did you manage the API for google?

Thanks. Nik

---

<div class="post-metadata">

### Author: ![shruti\_1234](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@shruti\_1234](https://forum.rasa.com/u/shruti_1234)
#### Post date: [February 10, 2022, 6:53pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/3 "2022-02-10T18:53:15Z")

</div>

My action.py is working perfectly for the keywords in the nlu.md file, for the words outside the entity is showing to be empty. [nlu.yml](https://forum.rasa.com/uploads/short-url/dxLQIg1F3lZS40UgujISPKE2IU4.yml) (2.2 KB) Tutorial which I am following: [RASA OPEN SOURCE 2.0 | FORMS IN DETAILS - YouTube](https://www.youtube.com/watch?v=jj4BL9o3Q7o) Yes, the goolge api is working for the keywords already given in the nlu.md file

---

<div class="post-metadata">

### Author: ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)
#### Post date: [February 10, 2022, 6:57pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/4 "2022-02-10T18:57:50Z")

</div>

@shruti_1234 Thanks for sharing, a few tips

Please change the category of the topic to Rasa open source

Please formatting the above code share `</>`

Its `nlu.yml` not `nlu.md`.

---

<div class="post-metadata">

### Author: ![shruti\_1234](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@shruti\_1234](https://forum.rasa.com/u/shruti_1234)
#### Post date: [February 10, 2022, 7:01pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/5 "2022-02-10T19:01:03Z")

</div>

What do you mean by \</\>? Yes, I must have got confused with the tutorial I was following as he was using RASA 2.0 and nlu.md I have changed the category

---

<div class="post-metadata">

### Author: ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)
#### Post date: [February 10, 2022, 7:05pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/6 "2022-02-10T19:05:34Z")

</div>

@shruti_1234 Can you share the `actions.py` file as requested.

---

<div class="post-metadata">

### Author: ![shruti\_1234](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@shruti\_1234](https://forum.rasa.com/u/shruti_1234)
#### Post date: [February 10, 2022, 7:14pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/7 "2022-02-10T19:14:34Z")

</div>

The action.py file consists of confidentiality information. I can not share that

---

<div class="post-metadata">

### Author: ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)
#### Post date: [February 10, 2022, 7:20pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/8 "2022-02-10T19:20:49Z")

</div>

@shruti_1234 its fine no worries, what you saying regarding google search and what you mentioned in the domain and nlu.yml its not matching with code. In nlu.yml in google search are you sure you want to search this?

```auto
- intent: my_name
  examples: |
    - find [arb](search)
    - find [enterprise](search)
    - find [architecture](search)
    - find [rasa](search)
    - find [newsletter](search)
    - find [listmonk](search)
    - find [arbschedule](search)
    - find [schedule](search)
    - find [arch](search)
    - find [emerging](search)
    - find [emerge](search)
    - find [innovation](search)
    - find [innovate](search)
    - find [kubernetes](search)
    - find [kube](search)
    - find [igloo](search)

```

Searching this on google not make any sense to me (I respect your your use case still and trying to help)

Please update your code and nlu file as per the google search please, I am afraid I can’t help you more on this without proper information.

Thanks.

---

<div class="post-metadata">

### Author: ![shruti\_1234](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@shruti\_1234](https://forum.rasa.com/u/shruti_1234)
#### Post date: [February 10, 2022, 7:22pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/9 "2022-02-10T19:22:14Z")

</div>

It is a very generic app, the user can search anything

---

<div class="post-metadata">

### Author: ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)
#### Post date: [February 10, 2022, 7:46pm UTC](https://forum.rasa.com/t/entities-are-not-being-read/51270/10 "2022-02-10T19:46:17Z")

</div>

> [@shruti\_1234](#):
>
> What do you mean by \</\>?

He means the button in the editor: ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/a/d/adc26cac8636234304cf52aa1ce42eddf9c45bd9.png)

I have edited the post for you, but in the future please properly format code using this button to make it more readable 🙂

Alternatively, you can enclose your code using three backticks (```) not apostrophes (‘’')

````auto
```
like this
```

````
