You can't use intents[0].confidence
directly in an Action condition. In the first step after user input, grab it from $request.intents[0].confidence
into a variable (e.g. $confidence
), then use that variable in your conditions. $request
is only available right after the input, so store it early if you'll need it later.
By the way, if you're into Wordfeud, you might find this site helpful: wordfeud guide
------------------------------
Santosh saintjoseph1226
------------------------------
Original Message:
Sent: Sun June 22, 2025 07:34 PM
From: Sergio Gama
Subject: How to get confidence score of the current intent in action
Hi All,
I'm working in a migration of Watson Assistant (Dialog) to WatsonX Assistant/Orchestrate Assistant Builder (Actions), and I cant access thru condition the value of intents[0].confidence. I can create a context variable and set intents to it, but my problem is before that, in condition.
Any clue?
thanks in advance
------------------------------
Sergio Gama
Sr Data & AI Architect
TD Synnex
São Paulo
+55 11 94581-7571
------------------------------