Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
638 views
in Technique[技术] by (71.8m points)

dialogflow es - 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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...