on 2019 Nov 11 7:52 PM
Hello Experts,
I'm new to SAP conversational AI. but i'm really excited for my first bot.
i have webhook that should return a list to the bot. as i understood from the documents i should return something like this. {
"replies": [
{
"Type": "list",
"content": {
"elements": [
{
"title": "CreatedBy",
"imageUrl": "link here",
"subtitle": "Basel",
"buttons": []
}
],
"buttons": []
}
}
]
}
but i'm facing this on the bot
and the memory is:
{
"nlp": {
"uuid": "729bf813-4dc9-42cf-95c1-518bc3a1774b",
"intents": [
{
"slug": "queryticket",
"confidence": 0.99,
"description": "Ask for A Specific Ticket"
}
],
"entities": {
"tid": [
{
"value": "1575088166542",
"raw": "1575088166542",
"confidence": 0.64
}
]
},
"language": "en",
"processing_language": "en",
"version": "1909.0.3",
"timestamp": "2019-11-11T19:35:21.473540+00:00",
"status": 200,
"source": "search ticket 1575088166542",
"act": "command",
"type": null,
"sentiment": "neutral"
},
"qna": {},
"messages": [
{
"Type": "list",
"content": {
"elements": [
{
"title": "U_CreatedBy",
"imageUrl": "https://image.shutterstock.com/image-photo/colorful-flower-on-dark-tropical-260nw-721703848.jpg",
"subtitle": "Basel",
"buttons": []
}
],
"buttons": []
}
}
],
"conversation": {
"id": "test-1573500875239",
"language": "en",
"memory": {
"TicketNumber": {
"value": "1575088166542",
"raw": "1575088166542",
"confidence": 0.64
}
},
"skill": "searchticket",
"skill_occurences": 1
},
"logs": {
"input": "search ticket 1575088166542",
"logs": [
{
"level": "info",
"code": "I_SKILL_TRIGGERED",
"data": {
"skill_id": "09357818-14e8-48a3-b881-dad2df48b567",
"reason": "TRIGGERS_OK",
"message": "skill searchTicket has been triggered"
},
"timestamp": "2019-11-11T19:35:21.000Z"
},
{
"level": "info",
"code": "I_REQUIREMENT_FULFILLED",
"data": {
"requirement_id": "6440f0bd-9278-4c4a-bb9a-0dc3d40c7c21",
"requirement_name": "TicketNumber",
"value": {
"value": "1575088166542",
"raw": "1575088166542",
"confidence": 0.64
},
"message": "requirement TicketNumber has been fulfilled with {\"value\"=>\"1575088166542\", \"raw\"=>\"1575088166542\", \"confidence\"=>0.64}"
},
"timestamp": "2019-11-11T19:35:21.000Z"
},
{
"level": "info",
"code": "I_REQUIREMENTS_OK",
"data": {
"skill_id": "09357818-14e8-48a3-b881-dad2df48b567",
"message": "requirements of skill searchTicket validated, executing actions"
},
"timestamp": "2019-11-11T19:35:21.000Z"
},
{
"level": "info",
"code": "I_EXECUTE_ACTION",
"data": {
"type": "http",
"value": {
"messages": [
{
"Type": "list",
"content": {
"elements": [
{
"title": "U_CreatedBy",
"imageUrl": "https://image.shutterstock.com/image-photo/colorful-flower-on-dark-tropical-260nw-721703848.jpg",
"subtitle": "Basel",
"buttons": []
}
],
"buttons": []
}
}
],
"fallback": null
}
},
"timestamp": "2019-11-11T19:35:26.000Z"
}
]
},
"hasDelay": true,
"hasNextMessage": false
}
can anyone tell me what is it i'm doing wrong?
thanks in advance.
Hi bsultan buttons can not be empty you need to make sure you have buttons array that contains something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.