# Confidence for each intent

**URL:** <https://forum.rasa.com/t/confidence-for-each-intent/26723>\
**Category:** Rasa Open Source\
**Created:** [March 29, 2020, 11:40am UTC](https://forum.rasa.com/t/confidence-for-each-intent/26723 "2020-03-29T11:40:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![y0rker](https://avatars.discourse-cdn.com/v4/letter/y/5e9695/32.png) [@y0rker](https://forum.rasa.com/u/y0rker)\
**Post date:** [March 29, 2020, 11:40am UTC](https://forum.rasa.com/t/confidence-for-each-intent/26723/1 "2020-03-29T11:40:50Z")

</div>

Hello! I have a problem. I need to predict intents like wit.ai. (confidence for each intent) For example:

```auto
    {
        "intent": {
            "name": "greet",
            "confidence": 0.9961936497688293
        },
        "entities": [],
        "intent_ranking": [
            {
                "name": "greet",
                "confidence": 0.9961936497688293
            },
            {
                "name": "greet super",
                "confidence": 0.80497183352708817
            },
            {
                "name": "other",
                "confidence": 0.08883455395698547
            }
        ],
        "response_selector": {
            "default": {
                "response": {
                    "name": null,
                    "confidence": 0.0
                },
                "ranking": []
            }
        },
        "text": "hello"
    }

```

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [March 30, 2020, 1:44pm UTC](https://forum.rasa.com/t/confidence-for-each-intent/26723/2 "2020-03-30T13:44:07Z")

</div>

Can you clarify what information you need?

---

<div class="post-metadata">

**Author:** ![y0rker](https://avatars.discourse-cdn.com/v4/letter/y/5e9695/32.png) [@y0rker](https://forum.rasa.com/u/y0rker)\
**Post date:** [April 8, 2020, 5:42pm UTC](https://forum.rasa.com/t/confidence-for-each-intent/26723/3 "2020-04-08T17:42:12Z")

</div>

Ty for answer! A need intent ranking for each intent. For example: i have 2 intents (greet and goodbye). If i enter “dog” i want see:

```auto
{
"intent_ranking": [
            {
                "name": "goodbye",
                "confidence": 0
            },
            {
                "name": "goodbye",
                "confidence": 0
            }
        ]
}

```

greet and goodbye is 0 confidence.

Now I get something like this:

```auto
{
"intent_ranking": [
            {
                "name": "goodbye",
                "confidence": 0.15
            },
            {
                "name": "goodbye",
                "confidence": 0.85
            }
        ]
}

```

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [April 20, 2020, 5:13pm UTC](https://forum.rasa.com/t/confidence-for-each-intent/26723/4 "2020-04-20T17:13:33Z")

</div>

Why do you want the confidence to be zero?
