A Google Action that helps get information on the wind while sailing. It gets the wind speed and wind direction in your current location via the OpenWeatherMap API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes for the live demo.
Ngrok is required for development. Firebase CLI is required to test the Google Firebase Cloud Functions.
Setup Firebase CLI: https://firebase.google.com/docs/functions/get-started
Ensure you are in cloned repo folder (cd gabaklar
).
Then install and start the function:
npm install
firebase serve --only functions
Open up another shell and run ngrok:
ngrok http 5000
TODO: instructions for DialogFlow https://85574436.ngrok.io/gabaklar-eef92/us-central1/dialogflowFirebaseFulfillment
Tests are conducted by botium: https://www.botium.at/. Botium gets all the intents from DialogFlow and creates different utterances for each intent. Then tests each utterance to see if the correct intent is captured by DialogFlow.
TODO: alpha version instructions https://us-central1-gabaklar-eef92.cloudfunctions.net/dialogflowFirebaseFulfillment
- Add more flows, and make use of 'context'
- Add tests for the function https://github.com/actions-on-google/actions-on-google-testing-nodejs (Alpha)
- Further testing: Bespoken
- Write a function to collect conversation transcripts
- Add analytics, decide on KPIs
- Add monitoring
- Check out environment variables: https://firebase.google.com/docs/functions/config-env
- Add Simple Response
- Dilan Nebioglu