Jess
a work in progress virtual assistant
Installation and usage
npm install --save jessica-ai
basics
// requiring the modulevar Jessica = ; // make the Jessica instancevar Jess = storageDir: "data" // directory to store any data Jessica needs; // Jess comes with a default intents such as a math intent "whats 4 x 4"// Returns {intent: "math", question: 4 x 4, result: 16} // But to extend jess its pretty easy. just add some training data// Using a weather command for example // Make a few sentences for it to train onvar weather = "how's the weather in Birmingham" "what's the weather like in Paris" // train it on the weather dataJess; // Set the classifier up to useJessstart; // do this whether you add your own commands or not // Start classifying objectsJess
contributing
PR's are welcomed :P