virtuoso v0.0.21 API Reference

Modules

Receives events and delegates to platform-specific module

Translates fb message events into Virtuoso-friendly internal representations (Impressions)

Handles message events from Facebook Messenger

Handles network ops for fbmessenger medium

Handles translating payloads received from FB

Remember Death

FastThinking checks for intents and entities expressly implied by the impression structure or contents. This allows us to bypass SlowThinking when it is performant to do so

Interface for all of MM’s routines

Memento Mori’s greeting routine

If FastThinking failed to deduce entities and intents then SlowThinking may use a Virtuoso NLP client to determine which routine the bot should execute

Virtuoso keeps the contexts that define your domain and business logic

External Interface for Bot context

Lists bots (Needs to move to config)

GenServer to maintain conversation state

Struct for Conversation state

Supervisor for conversation processes

A watcher process for new conversations

Receives impressions and delegates to relevant bot and subroutine

The entrypoint for defining your web interface, such as controllers, views, channels and so on

View functions for the dashboard

Conveniences for translating and building error messages

A module providing Internationalization with a gettext-based API

Module with named helpers generated from VirtuosoWeb.Router

WIT AI integration for intent handling and NLP

Mix Tasks

Generates executive, routines, and cognition for a Bot

Generates a basic routine for a given Bot