You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
Vex is an AI to talk to anyone, including lonely people.
This system is simple for now, does not have neural networks and is just a logical system.
The project is open source and licensed with MIT LICENSE to receive future contributions and improvements from the community, the icons under CC-BY-NC 2.0 license, check out Vex Reactions. This version of Vex(html5) has been discontinued and now has a version made in React, check out
The goal of this project is to one day have an AI capable of talking normally to a person, without errors or with minimal errors and who knows... be a conscious AI
Feature
Support
Database
Not for now
Api
Not for now
Synonyms
Yes
React
Yes
Check if a word in a sentence exists
Yes
Machine learning
Not for now
Documentation
Database class
Instantiate class
const vex = new Database(Object)
This code instances a new database class where you pass an object with keys and values as your database
Remove a message from your database if that value exists. If the message is removed, it returns true and returns false whenever the message does not exist (delete something that does not exist)
constmessage="hi"vex.removeData(message)
Get answer to a message
Database.getAnswer(message)
Checks whether each index exists in the database and returns an answer. otherwise returns null. The system also automatically checks for synonyms (that's why the messages are in an array)
constmessage_array=["hello","world","!!!"]vex.getAnswer(message_array)//["hello", world", "!!!"]// check hello, world and !!!vex.getAnswer([message_array.join(" ")])// ["hello world !!!"]// put the sentence together and check it only
Get Synonyms
Database.getSynons(message)
Checks if the message passed has variants and returns an array with all of them, if not, returns null. works similarly to the previous method but returns all synonyms instead of an answer