# Get\_slot returns Wrong Value

**URL:** <https://forum.rasa.com/t/get-slot-returns-wrong-value/63977>\
**Category:** Rasa Open Source\
**Created:** [October 16, 2024, 1:12pm UTC](https://forum.rasa.com/t/get-slot-returns-wrong-value/63977 "2024-10-16T13:12:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yutel](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@yutel](https://forum.rasa.com/u/yutel)\
**Post date:** [October 16, 2024, 1:12pm UTC](https://forum.rasa.com/t/get-slot-returns-wrong-value/63977/1 "2024-10-16T13:12:21Z")

</div>

I have 2 slots team\_a and team\_b. nlu.yml:

```auto
- intent: ask_last_match_between_teams
  examples: |
    - What was the last match between [Besiktas] (team_a) and [Fenerbahce] (team_b) ?

```

I use actions to answer this intent. here is my example sentence: `"What was the last match between Konyaspor and Fenerbahce ?"`

team\_a should be Konyaspor and team\_b should be Fenerbahce , but inside the ActionGetMatchResult class, I got this:

`team_a None team_b Fenerbahce Extracted entities: [{'entity': 'team_b', 'start': 32, 'end': 41, 'confidence_entity': 0.7333658933639526, 'value': 'Konyaspor', 'extractor': 'DIETClassifier', 'processors': ['EntitySynonymMapper']}, {'entity': 'team_b', 'start': 46, 'end': 56, 'confidence_entity': 0.5637834668159485, 'value': 'Fenerbahce', 'extractor': 'DIETClassifier', 'processors': ['EntitySynonymMapper']}]`

I don’t know why I don’t get any team\_a value.

domain.yml:

```auto
entities:
  - team_a
  - team_b

slots:
  team_a:
    type: text
    mappings:
    - type: from_entity
      entity: team_a
  team_b:
    type: text
    mappings:
    - type: from_entity
      entity: team_b

```

note: there is no space between ] and ( . it will be link, if I don’t add space

---

_[View the full topic](https://forum.rasa.com/t/get-slot-returns-wrong-value/63977)._
