I am currently working on a chatbot based on IBM Watson conversations.
And I'm struggling getting the key out of the enginePower
in the filter.
I need every key to be displayed in the chat. So a user can select one.
The structure looks like that:
"filter": {
"enginePower": [{
"key": "55",
"text": "55 kW (75 PS)",
"selectable": false
},
{
"key": "65",
"text": "65 kW (88 PS)",
"selectable": false
},
{
"key": "66",
"text": "66 kW (90 PS)",
"selectable": false
},
{
"key": "81",
"text": "81 kW (110 PS)",
"selectable": false
}]
}
Thanks in advance.