Confidence for each intent

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

    {
        "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"
    }

Can you clarify what information you need?

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:

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

greet and goodbye is 0 confidence.

Now I get something like this:

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

Why do you want the confidence to be zero?