Author Topic: how do i write a chat/text bot?  (Read 1047 times)

so im trying to write a text/chat bot, like monty, to where it can learn everything we tell it, can i get some pointers or some help? thanks

make a database that matches user-input to bot-responses? change bot responses according to how the user responds to input? this probably isn't the place to ask

Ask in Modification Help but either way, chat bots are frowned upon.

you're treading down a dark path. turn back while you can

I could help you with a simple one. For example that greets and does additions, subtractions, divisions, and multiplications, and toggle for public use, only you, and for a few select people.

Someone should recreate Tay. She was silenced because of butthurt friends.

so im trying to write a text/chat bot to where it can learn everything we tell it
writing a self-learning AI isn't exactly a walk in the park

you could try writing a simple one that reads strings, but making one that thinks is a little beyond capability

monty works using a markov chain algorithm
there's an explanation on how montygraph specifically works here actually:
http://www.jibble.org/dynamicgraph.php

here's a really stupidly simple markov chain bot i made in python while i was bored in my c programming class last semester (press run) https://repl.it/ECCV/4
it's not exactly like monty but it works on the same basic principle. i also made a similar bot in blockland years ago but i can't find it right now for some reason
« Last Edit: January 02, 2017, 06:17:23 PM by otto-san »

monty works using a markov chain algorithm
there's an explanation on how montygraph specifically works here actually:
http://www.jibble.org/dynamicgraph.php

here's a really stupidly simple markov chain bot i made in python while i was bored in my c programming class last semester (press run) https://repl.it/ECCV/4
it's not exactly like monty but it works on the same basic principle. i also made a similar bot in blockland years ago but i can't find it right now for some reason
its uh, its not working

its uh, its not working
pretty sure it breaks if you enter less than two words for the first input (also hit run if you didn't)