# Is there a way to set confident threshold for entity slot filling ? (not just inside FormAction)

**URL:** <https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095>\
**Category:** Rasa Open Source\
**Created:** [April 28, 2019, 6:48pm UTC](https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095 "2019-04-28T18:48:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshuaZe](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@JoshuaZe](https://forum.rasa.com/u/JoshuaZe)\
**Post date:** [April 28, 2019, 6:48pm UTC](https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095/1 "2019-04-28T18:48:44Z")

</div>

The entity may not accurate enough to fill one slot sometimes, so is there a way to set up a threshold for entity slot filling.

For example,

```auto
"intent": {
        "name": "ask_shipping_price",
        "confidence": 0.9011044502258301
    },
    "entities": [
        {
            "start": 0,
            "end": 3,
            "value": "California",
            "entity": "city",
            "confidence": 0.46318633708583556,
            "extractor": "ner_crf"
        }
    ]
...

```

The intent confident is enough in above case and we can use fallback action to ensure the recognization of intent by nlu\_threshold.

above just an example to tell the question scenery, State “California” is not a city but may be mis-recognized by NER.

However, the entity part is not confident enough (just 0.46), is there a way to consider entity confident in rasa-core when automatically slot filling? or rasa-nlu ( some parameters in “ner\_crf”) ?

Thanks,

Josh

---

<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:** [May 7, 2019, 11:06am UTC](https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095/2 "2019-05-07T11:06:26Z")

</div>

for automatic slot filling no, but automatic slot filling can be disabled and you can do the check in custom action

---

<div class="post-metadata">

**Author:** ![JoshuaZe](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@JoshuaZe](https://forum.rasa.com/u/JoshuaZe)\
**Post date:** [June 18, 2019, 3:14am UTC](https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095/3 "2019-06-18T03:14:08Z")

</div>

do you know how to disable the automatic slot filling. could you help point out the right document ? Thank you!

---

<div class="post-metadata">

**Author:** ![dennisasamoahowusu](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@dennisasamoahowusu](https://forum.rasa.com/u/dennisasamoahowusu)\
**Post date:** [June 18, 2019, 7:37am UTC](https://forum.rasa.com/t/is-there-a-way-to-set-confident-threshold-for-entity-slot-filling-not-just-inside-formaction/9095/4 "2019-06-18T07:37:21Z")

</div>

In domain.yml under slots. E.g. Assuming your slot is called person\_city, you can do

```
slots:
  person_city:
    auto_fill: false
```
