dialogflow-esactions-on-googlegoogle-assistant-sdk

Is there a way to get date period on Google Actions


I am thinking of migrating from Dialogflow to Actions, but I can't seem to find how to migrate system entity "Date period" to actions. I need the ability for the users to ask for a certain period.

Example: What is happening next month or Is there anything happening in March?


Solution

  • Unluckily this entity type was removed from AoG builder.

    I faced the same issue, I've tried to contact support team without any response and I solved using DateTime, I know that the DatePeriod entity was really useful like so many other entity types that are been removed.

    Looking at the new Dialogflow console and the Action Bilder samples, the only way to handle Dates is using DateTime, Date, Time entities. You can find further info here.

    If you find any different solution, let me know!