Reputation: 7128
I'm trying to update a DialogFlow agent from v1 to v2 following guidance at this page.
I've exported the agent, but when I attempt to import that file into a new agent, I get this error:
Errors in 'Get Date' intent: If you want to enable a rich message element or add a simple response, "Use response from the DEFAULT tab as the first response" toggle should be enabled.
When I compare the "Get Date" intent file in the ZIP to other intents in the ZIP, I don't see anywhere to set this value.
Upvotes: 0
Views: 217
Reputation: 1
To fix this problem, you should try updating pip version and reinstalling dialogflow_v2
library with the following command in terminal or command prompt:
pip install --upgrade pip pip install dialogflow==2.0.0
Note that the version of dialogflow
must be 2.0.0, due to the newer version of this library
Upvotes: 0
Reputation: 7128
It turns out that this line in the "Get Date.json" file:
"defaultResponsePlatforms": {},
had to be adjusted to be:
"defaultResponsePlatforms": {
"google": true
},
Of all the intents in the agent, only two were marked as errors on the import and had to have this setting added. This is only needed because the "Google Assistant integration" was turned on.
Upvotes: 1