Hello.
Unfortunately, Watson Assistant doesn’t have such export functionality yet.
Nevertheless, technically, if you are building your own application and using Watson Assistant API v2, you can gather such information by parsing debug output.
For example, if your application sends the following message to Watson Assistant:
{
"input": {
"text": "unknown",
"options": {
"return_context": true,
"debug": true
}
}
}
and receives the following respond:
{
"output": {
"generic": [
{
"response_type": "text",
"text": "I didn't understand. You can try rephrasing."
}
],
"debug": {
"nodes_visited": [
{
"dialog_node": "Anything else",
"title": "Anything else",
"conditions": "anything_else"
}
],
"log_messages": [],
"branch_exited": true,
"branch_exited_reason": "completed"
},
"intents": [],
"entities": []
},
"context": { ... },
"session_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
You can conclude the intent is not recognized by the presence of path like:
debug.nodes_visited.conditions
equals 'anything_else'
. Of course, this approach is out of the scope of Watson Assistant Plug-in for WordPress.
-
This reply was modified 6 years ago by intelahelp.