facebook / facebook/duckling

ducking time entity not working properly for month/week span

Đang mở
#306 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Haskell
Star
4.3k
Fork
740
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,

I have done to date implementation, but I am facing an issue when I passed sentence "show balances by this month" then extract two date its correct but when I passed "show balances for this month" or "show balances this month" duckling extract only one date.
How to resolve these issues

show balanced dashboatrd
Showing balance dashboard. DATA={"pageInstanceId": "balance_dashboard", "slots": {"amount": null, "balance_widget_type": null, "beneficiary_account": null, "country": null, "currency": null, "from_date": null, "groupby": null, "ordering_bank": null, "ordering_party": null, "ordinal": null, "requested_slot": null, "submit_confirm": null, "time": null, "to_date": null, "view_type": null}}127.0.0.1 - - [2018-12-24 11:51:19] "POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1" 200 626 1.150054

show trend analysis for this month
Showing trend analysis for selected period. DATA={"pageInstanceId": "balance_dashboard", "slots": {"amount": null, "balance_widget_type": "trend analysis", "beneficiary_account": null, "country": null, "currency": null, "from_date": null, "groupby": null, "ordering_bank": null, "ordering_party": null, "ordinal": null, "requested_slot": null, "submit_confirm": null, "time": "2018-12-01", "to_date": null, "view_type": null}}127.0.0.1 - - [2018-12-24 11:51:31] "POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1" 200 667 1.113426

show trend analysis by this month
Showing trend analysis for selected period. DATA={"pageInstanceId": "balance_dashboard", "slots": {"amount": null, "balance_widget_type": "trend analysis", "beneficiary_account": null, "country": null, "currency": null, "from_date": "2018-12-01", "groupby": null, "ordering_bank": null, "ordering_party": null, "ordinal": null, "requested_slot": null, "submit_confirm": null, "time": {"to": "2018-12-01T00:00:00.000+01:00", "from": "2018-12-24T07:21:46.000+01:00"}, "to_date": "2018-12-24", "view_type": null}}127.0.0.1 - - [2018-12-24 11:51:47] "POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1" 200 761 1.127874

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.