AS GOOD FRIENDS, WE DEVELOPED
THIS SIMPLE JAVASCRIPT NLP-LIKE LIBRARY, WHICH IS:
Free and easy to use:
Starting off from a programming language you already know, you'll be able to understand what NLP is and its possibilities. View the full documentation, read the short technical summary of the features of Bravey, then check out how easy it is to get started, following the set of immediate working examples attached. All done? Now it's time to create your own chatbot!
New, just launched:
You can learn something from everyone you meet. Start sharing your knowledge; you'll see this technology develop and improve! Check out the full documentation for some useful examples, unit tests and other relevant material, which should be useful as support and to help our technology to grow proactively. Ready? We'll love to have you onboard!
Versatile and flexible:
Shape your bot by making it learn from you and your interests. Bravey comes within a set of default entity recognizers embedded in its code, but, as usual with NLP technology, the more you add and customize them, the smarter it becomes. It supports multiple language processors, which can be used alternately in the same chatbot. Come on! Join the bandwagon of conversation interfaces!
HAVE A LOOK AT THESE EXAMPLES, TO UNDERSTAND HOW TO GET STARTED:
var nlp=new Bravey.Nlp.Fuzzy();
nlp.addDocument(
"I want a pizza!",
"pizza",
{fromFullSentence:true,expandIntent:true}
);
nlp.addDocument(
"I want some pasta!",
"pasta",
{fromFullSentence:true,expandIntent:true}
);
console.log(
nlp.test(
"Want pizza, please"
).intent
);
// "pizza"
var nlp=new Bravey.Nlp.Fuzzy();
nlp.addEntity(
new Bravey.NumberEntityRecognizer(
"quantity"
)
);
nlp.addDocument(
"I want 2 pizzas!",
"pizza",
{fromFullSentence:true,expandIntent:true}
);
console.log(
nlp.test(
"Want 3 pizzas, please"
).entitiesIndex.quantity.value
);
// 3
var nlp=new Bravey.Nlp.Fuzzy();
nlp.addEntity(
new Bravey.NumberEntityRecognizer(
"quantity"
)
);
nlp.addEntity(
new Bravey.Language.EN.TimeEntityRecognizer(
"delivery_time"
)
);
nlp.addDocument(
"I want 2 pizzas at 12!",
"pizza",
{fromFullSentence:true,expandIntent:true}
);
console.log(
nlp.test(
"Deliver 3 pizzas for 2pm, please"
).entitiesIndex
);
// {delivery_time:{value:"14:00:00"},quantity:{value:3}}
var nlp=new Bravey.Nlp.Fuzzy();
nlp.addEntity(
new Bravey.NumberEntityRecognizer(
"quantity"
)
);
nlp.addEntity(
new Bravey.Language.IT.TimeEntityRecognizer(
"delivery_time"
)
);
nlp.addDocument(
"Vorrei 2 pizze per le 3!",
"pizza",
{fromFullSentence:true,expandIntent:true}
);
console.log(
nlp.test(
"Consegnami 3 pizze per le 2 del pomeriggio!, please"
).entitiesIndex
);
// {delivery_time:{value:"14:00:00"},quantity:{value:3}}
TRY THIS CHATBOT, BUILT WITH BRAVEY TECHNOLOGY: