This sample includes code from elizabot by N. Landsteiner, based on the original ELIZA program by Joseph Zeizenbaum (MIT 1966).
- Actions SDK: https://developers.google.com/actions/develop/sdk/getting-started#getting-started.
- Google Cloud SDK: https://developers.google.com/actions/develop/sdk/getting-started#deploy-your-action-web-service.
See the developer guide and release notes at https://developers.google.com/actions/ for more details.
- Deploy this app to your preferred hosting environment (we recommend Google App Engine).
- Update the action package, eliza.json, with your endpoint URL.
- Preview the action using the gactions CLI: ./gactions preview --action_package eliza.json --invocation_name "eliza action" --preview_mins 1234
- Use the gactions simulator to test the action (try "talk to eliza action"): ./gactions simulate
For more detailed information on deployment, see the documentation.
Set up a Google Home bot on Botmetrics and get the API Key and Bot ID for the bot. Set the environment variables BOTMETRICS_API_KEY
and BOTMETRICS_BOT_ID
with these values. Add botmetrics
to your package.json
and add the Botmetrics.track
API calls to your code as shown here.
- Actions on Google documentation: https://developers.google.com/actions/.
- If you find any issues, please open a bug here on GitHub.
- Questions are answered on StackOverflow.
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.
Actions on Google Developers Community on Google+ https://g.co/actionsdev.