GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dialogflow/fulfillment-weather-python: Sample showing complex agent and fulfillment design

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.yaml
app.yaml
 
 
config.py
config.py
 
 
dialogflow-agent.zip
dialogflow-agent.zip
 
 
forecast.py
forecast.py
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 
weather_entities.py
weather_entities.py
 
 
weather_responses.py
weather_responses.py
 
 

Repository files navigation

Dialogflow Fulfillment Weather Sample Python (Flask)

Setup Instructions

WWO Weather API Setup

  1. Get a WWO API key, by going to https://developer.worldweatheronline.com/api/ and following the instructions to get an API key that includes forecasts 14 days into the future
  2. Paste your API key for the value of the WWO_API_KEY varible on line 28 of config.py

Dialogflow Setup

  1. Create an account on Dialogflow
  2. Create a new Dialogflow agent
  3. Restore the dialogflow-agent.zip ZIP file in the root of this repo
  4. Go to your agent's settings and then the Export and Import tab
  5. Click the Restore from ZIP button
  6. Select the dialogflow-agent.zip ZIP file in the root of this repo
  7. Type RESTORE and and click the Restore button

Fulfillment Setup

  1. Deploy fulfillment to App Engine
  2. Download and authenticate the Google Cloud SDK
  3. Run gcloud app deploy, make a note of the service URL, which will be used in the next step
  4. Set the fulfillment URL in Dialogflow to your App Engine service URL
  5. Go to your agent's fulfillment page
  6. Click the switch to enable webhook for your agent
  7. Enter you App Engine service URL (e.g. https://weather-10929.appspot.com/) to the URL field
  8. Click Save at the bottom of the page

How to report bugs

  • If you find any issues, please open a bug here on GitHub

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE.md

Terms

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.

About

Sample showing complex agent and fulfillment design

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

177 stars

Watchers

24 watching

Forks

553 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.