==============================================================
- Create an account on Dialogflow
- Create a new Dialogflow agent
- Restore the
dialogflow-agent.zip
ZIP file in the root of this repo - Go to your agent's settings and then the Export and Import tab
- Click the Restore from ZIP button
- Select the
dialogflow-agent.zip
ZIP file in the root of this repo - Type RESTORE and and click the Restore button
- Click on the Google Cloud project ID in your agent's setting to open the Google Cloud console
- Enable the Google Cloud Translation API
- Create an API key and copy the value into the
API_KEY
varible inmain.py
and save the file - Run
pip install -r requirements.txt
- Deploy fulfillment to App Engine
- Download and authenticate the Google Cloud SDK
- Run
gcloud app deploy
, make a note of the service URL, which will be used in the next step - Set the fulfillment URL in Dialogflow to your App Engine service URL
- Go to your agent's fulfillment page
- Click the switch to enable webhook for your agent
- Enter you App Engine service URL and append
/webhook
(e.g.https://translate-10929.appspot.com/webhook
) to the URL field - Click Save at the bottom of the page
- If you find any issues, please open a bug here on GitHub
Please read and follow the steps in the CONTRIBUTING.md
See LICENSE.md
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Dialogflow's Terms of Use and Privacy Policy.