我们刚刚开始为我们的一个 Bot 集成 Chatbase,我正在向 Chatbase 发送消息,但我无法在仪表板上查看特定意图的消息。具体案例涉及与日期相关的消息。
这是一个卷曲请求。
curl -X POST \
https://chatbase-area120.appspot.com/api/message \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-H 'postman-token: f82cc2de-4514-8055-c28e-8746fce002c9' \
-d '{
"api_key": "xxxxxxxx",
"type": "user",
"platform": "mobile",
"message":"19-06-2017",
"intent": "EndDate",
"version": "1.0",
"user_id": "user-26",
"time_stamp": "1515492147",
"not_handled": false
}'
此外,我觉得奇怪的是,另一个意图的消息正确显示在仪表板上。
是否有日期必须发送到 Chatbase 才能显示在仪表板上的格式?顺便说一句,这也发生在与手机号码、电子邮件和地址相关的其他意图中。