Meet Luna, the (somewhat) advanced chat bot. - She has 2000+ preprogrammed responses - She tries to accurately answer input, even when they aren't in her database. - She speaks with text-to-speech (click on her if you want her to repeat herself) - Punctuation is automatically disregarded, so use as many exclamation points, question marks, or periods as you want at the end of your answers! lol - She really, really loves spaghetti! :D How it works: The main way that the responses work is that there are two lists. One is for possible things that users would say, the other one has answers to those said things. It connects the two by aligning each question/answer by number. Example: If item #1 on the first list is "how are you", then item #1 on the other list would be something like "good, you?". So the chatbot will scan the first list for your question, and if it finds it, it will use that number to spit out the answer that it has stored in the second list.So if the user says "how are you", the chat bot will answer "good, you?", and so on. (It's less complicated than it seems).I f it doesn't find your question/answer in the first list, it will also use various broad techniques to decide on an answer if what the user says isn't in its lists.
I have been working on this off and on for a few years, and even though I don't think I'll ever be completely finished, I thought I'd share this since it recently hit just over 2000 responses, which I think is a pretty big milestone. Have fun! #simulations #art #chat