0

I'm trying to get Dialogflow to report sales in different time periods. When I ask things like

  • what's the sale last month
  • what's the sale in march 2011

They work fine. However, if I didn't specify "last" or year, Dialogflow always think I'm asking about the upcoming period (which I guess works great for restaurant booking, etc.). For example, "what was our sale in april" would guess that I mean April of next year.

Should I write a fulfillment to deal with this or is there a way to specify only historical periods only?

Another related question is it has trouble understanding notations like 2010q1 or q2/2015 which is quite common in economics and finance. "q1/2000" would extract only q1 (correctly, but with the upcoming q1). "2000q1" wouldn't be recognized at all.

Thanks!

Art
  • 453
  • 4
  • 12

0 Answers0