A VUI for ordering foodservice.
Google Home Web Simulator setup can be found here
© 2015 Aleena Naeem
Fulfillment logic for a voice-enabled food ordering system on api.ai
- User must be in posession of a reachable public URL
- User must be in posession of a server of computer
git clone https://github.com/barthola/foodtalk.- Install NodeJS - (Installation of NPM is accompanied usually).
npm inpm build- for backwards es compatibility.- Create an account for API.AI.
- Create a new agent - preferably named
Foodtalk. - Go to agent settings > Export and Import by clicking on the cog symbol next to the agent name.
- Click
Restore from zipto import the zip filefoodtalk.zipinto the agent. - Click
Fulfilmenton the left hand side menu and enable webhook, fill in theURLfield in the formathttp://{address}:8080. - User will have visit each intent, accessible through the left hand side menu and enable fulfilment. This is usually found at the bottom of the intent's page.
- The agent is set up and ready to be used.
Development
- From the command line, navigate to the root directory of the project and run the command
npm startProduction (using pm2)
pm2 start appProduction without the use of pm2
npm run serveMake sure the fulfillment logic is being hosted publicly for the test script to be able to query it.
npm testSee test/index.js for more info
npm run deploy