在为 Watson Conversation API 流程创建流程时,我能否使用意图的置信度评级?

Can I use the confidence ratings for the intents in creating the flow for the Watson Conversation API flow?

我能否在 Watson Conversation 对话流中的节点条件中使用意图的置信度评级API?

为此,请创建一个条件来寻找您的意图,然后检查置信度。

您的示例条件

#temperature
AND
intents[0].confidence > 0.70

在 UI 中,可能很难输入。因此,对于第一部分 select 键入时下拉列表中的意图。对于第二部分,键入后单击下拉列表中的 "Create new condition"。它会阻止它被删除。

在输出文本字段中您还可以添加:

<? intents ?>

这将在您的测试聊天 window 中显示 Intent JSON blob。所以你可以用这个看看它是否有效。