Skip to content

Adding the Nuts and Bolts

Choose a tag to compare

@vineet-sinha vineet-sinha released this 27 Dec 13:47
· 381 commits to master since this release

This release has focused on iterating/refining features based on user feedback and maturing the code.

Major software maturity milestones:

  • Started API Documentation using JSDoc and simplified usage of out API's.

  • Added automated tests using Mocha and setup and setup TravisCI with focus to keep API steady.

  • Added code coverage using Istanbul and Codecov.

Seperated and improved sample code for people getting started with Violet:

  • Added a deploy to heroku button so that people can try out the different samples easily; parameterized server.js so that scripts can be launched independently.
  • Added a To Do (using the Quip API) and a restaurants finder (using the Yelp Fusion API) sample.
  • Minor improvements such as demonstrating using Literal's properly by including Sample Values.

Added capabilities to Violet:

  • Improve Conversation Configurability: Support for a spoken rate set at the script level (and outputted to SSML). Individual responses to the user from a script typically have a short pause in between them, now support has been added for the say function to add them without a pause using the quick flag. Conversations in Violet are typically assumed to be continuing, now support has been added to endConversations by a script.
  • Simplification of Script Variables: Moved away from supporting for three classes of script variables (previously scripts could choose between [[input]] variables, {{session}} variables, and <> variables) to now only supporting session variables. Additionally, input variables are automatically 'upgraded' to become session variables and can therefore be accessed uniformly.
  • Improved Questioning of Users: Supporting scripts to either ask one question at a time or to prompt the user for up to 3 pieces of information at a time.
  • Added a PostgreSQL database plugin.
  • Updated Tooling: Significantly updated web interface when run locally, designed around the main developer use cases, and allow for easily testing their scripts, or for registering the script on Alexa. When the server launches Violet now displays the url that the server can be accessed at to ease opening it up. Violet now also includes a set of utilities to get values from a separate file (helpful when populating sample values for literals or loading a large set of values for custom type).

More here: http://helloviolet.ai/blog/2017/12/27/violet-v0.7-adding-the-nuts-and-bolts