Skip to content

AFASResearch/nai-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiment with conversational interaction with our bot

For this experiment, we are creating an api.ai instance that connects to our physical bot using webhooks. The webhooks communicate with a firebase database. The physical bot (nai-body) connects to the same firebase database to exchange instructions and sensor data.

ideas:

  • Nai cummunicates using slack
  • Nai communicates using a webpage using speech
  • Nai can tell the room temperature
  • Nai flashes an alarm when a build is broken
  • Nai announces a rotating 'dev of the week' every monday (on slack)
  • Nai controls the blinds in the room by broadcasting UDP packages
  • Nai displays the 'dev of the week' using an analog gauge
  • Nai can turn its face in different colors using an RGB led
  • Nai can rotate its head
  • Nai uses sound or infrared sensors to track people with its head
  • Nai can listen/speak using a conference speaker
  • Nai monitors the decibels and flashes an annoying light when dicussions are too loud for others to work

For now, this is just a fork of:

Api.ai - sample webhook implementation.

This is a really simple webhook implementation that gets Api.ai classification JSON (i.e. a JSON output of Api.ai /query endpoint) and returns a fulfillment response.

More info about Api.ai webhooks could be found here: Api.ai Webhook

What does the service do?

It's a simple echo service that takes resolvedQuery and action fields from the Api.ai JSON reponse and echoes them back in into speech and displayTest fields in the fulfillment JSON.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 98.3%
  • JavaScript 1.7%