# Extract confidence value

**URL:** <https://forum.rasa.com/t/extract-confidence-value/43434>\
**Category:** Rasa Open Source\
**Created:** [May 11, 2021, 5:34am UTC](https://forum.rasa.com/t/extract-confidence-value/43434 "2021-05-11T05:34:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RDS](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@RDS](https://forum.rasa.com/u/RDS)\
**Post date:** [May 11, 2021, 5:34am UTC](https://forum.rasa.com/t/extract-confidence-value/43434/1 "2021-05-11T05:34:03Z")

</div>

Hi! Is there a way to extract the confidence level value of the latest intent in the custom action?

---

<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:** [May 11, 2021, 7:19am UTC](https://forum.rasa.com/t/extract-confidence-value/43434/2 "2021-05-11T07:19:37Z")

</div>

Try: `tracker.latest_message['intent']['confidence']`.

This is the tracker:

```auto
"tracker": {
  "conversation_id": "default",
  "slots": {
    "slot_name": "slot_value"
  },
  "latest_message": {
    "entities": [{"start": 0, "end": 0, "value": "string", "entity": "string", "confidence": 0}],
    "intent": {"confidence": 0.6323, "name": "greet"},
    "intent_ranking": [{"confidence": 0.6323, "name": "greet"}],
    "text": "Hello!"
  },
  "latest_event_time": 1537645578.314389,
  "followup_action": "string",
  "paused": false,
  "events": [{
      "event": "slot",
      "timestamp": 1559744410
  }],
  "latest_input_channel": "rest",
  "latest_action_name": "action_listen",
  "latest_action": {
    "action_name": "string",
    "action_text": "string"
  },
  "active_loop": {
    "name": "restaurant_form"
  }
}

```
