facebook / facebook/duckling

ducking time entity not working properly for month/week span

Open
#306 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.