facebook / facebook/duckling

ducking time entity not working properly for month/week span

Ouverte
#306 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Haskell
Étoiles
4.3k
Forks
740
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.