Skip to content

The full process

Wade Penistone edited this page Dec 6, 2018 · 5 revisions

This ordered steps are what happens when the init function is run on a bot instance (when you first run the script).

  1. Individual readable input streams are initialised (for nlu, srl and cva) that pipe to writable core stream.
  2. Client instances created for adapters
  3. Client instance events are linked via callbacks to input streams
  4. Streams are attached to invoke core handlers
  5. Core handlers call interaction context based on interaction type (voice, message, vision)
  6. Interaction context produces request to invoke skills (if applicable)
  7. Skill processes request and assigns handler via promise
  8. Handler queries external/internal data services and gathers/processes data
  9. Handler templates content using data, and sends to outputter
  10. Outputter transforms content into format suitable for destination medium
  11. Content returned/distributed as response via destination medium to relevant parties
  12. Process logged/workflow finished

Clone this wiki locally