-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create instruction of how to create dev/draft copy of our Dialog Flow App and add helpful scripts #148
Comments
Thank you so much! Surely helps |
@hyzhak Can I try this? As far as I understand this, We can make a script which when run on exported zip from Dialogflow will generate a self executable scripts consisting all dump of the zip contents in itself or a separate dump file. Now this generated script or dump can be copied anywhere but I couldn't get the third part here which is basically to deploy DialogFlow app. Is it saying we could be able to generate the zip again which can be imported in the DialogFlow or something else? |
I am trying to make curl request for "music-XYZ" but server is responding that dialogflow is not enabled in this project & also pretending that I am making request for project "google.com:cloudsdktool". However, dialogflow is already enabled for project "music-XYZ". Response: { |
@hyzhak : Agent uploading is possible using v2 api. Hence, we will have to upgrade our DialogFlow to v2 version. Before that we need to ensure the impact of this upgradation on our existing agent. |
As an aside - checking in the JSON from the zip file is safe. Although it contains IDs, there is nothing secret about them, and loading it into a different project won't cause any problems. (The v2 API method is just an API for uploading and downloading the zips of these json files.) |
@afirstenberg IDs could be alter by DialogFlow and we would get different json files with different IDs but with the same data. So possible solution - unzip jsons and strip IDs. In additional we would like to share Dialog Model between Action of Google and Alexa Skill, as much as possible. Because both app has very high similarity And Ideally it should be YAML, because it is more human readable than JSON or CSV. |
*) We can't use zip (if you need explanation search for storing binaries in git). As well we can't store unzip version of Dialog Flow zip file, because it has ids so we won't be able to fetch Dialog flow structure from dev/draft copy.
❗️ please don't commit secret keys they should come from
process.env
.The text was updated successfully, but these errors were encountered: