Giter VIP home page Giter VIP logo

chanakya's People

Contributors

arjarav98 avatar arjunaravind98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chanakya's Issues

Implement a system where each node can only have limited keywords.

Implement a system where each node can only have limited keywords. Every node in the child system can only have the same number of keywords OR there must be a pre-defined limit on what the keyword limit can be.

Instead of having a random system of keywords, to make it easy for the developers, we can have three-predicated system which defined the question-type, action-to-be-done and subject. (Like "who is suresh raina?" or "what is the taj mahal?". Most questions and non-question statements have the same structure. This can be integrated.

Future: Context (with possible SOLUTION)

Keep a record of what the user has been asking, say, the last 5 questions. If the user asks something, we can refer these first and then refer the actual tree. This might be problematic, but we should be able to include this.

Add Error404 module.

Add a Error404 module which should throw some kind of exception when the getScore() value is too negative or low to be properly matched to a branch, it should go to the standard response when no value can be found (like "you could phrase it properly" or something like that).

Future: Compound Questions

Compound questions are basically questions which consist of two or more questions in them. For example; "Who is the president of the USA and how old is he?".

In the current model, this checking is not done, but it can be included in future models. What we could do is check for conjunctions (and, also, etc) and then split the questions. We then iterate over the questions and answer them.

Update the README

Add a list of contents section. Reposition the 'Knowledge Base' section under a section called 'How to configure this chatbot for a field of your choosing' or something like that. Make QuickStart come right after the introduction.

Future: Word-Comparison

Right now, if a word matches with a keyword, then the matchScore is updated. However, in the future, we must also check to see how close a word matches with a particular word. This is done to compensate for spell checks.

For example; "Who is the precedenttt of the uSa??" should be the same as "Who is the president of the USA?".

Future: Word Stemming.

We need to find a way to stem words when reading them from the users as questions. If this is accomplished, we would not need to give keywords for nodes for every form of the word.

Future: Web Server.

Write a web server program which continuously checks a file for questions and then immediately writes the answer in another file.

Alternatively, you can also check whether you can make use of environment variables. Maybe create a couple of a variables for this. This might not be a cross-platform solution though. We need to check that out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.