BEEP AI
AI (Artificial Idiocy) Chatbot Beep. Responding to that I do not understand - since 1984.
How does this work?
AI (Artificial Idiocy) Chatbot Beep. Responding to that I do not understand - since 1984.
How does this work?Beep is not a real AI. There is no understanding, no learning, and no neural network. It is a tiny statistical toy called a Markov chain.
A plain text file (writing.txt) contains a pile
of personal writing. Every word and sentence Beep "says" comes
from re-shuffling words that appeared in that file.
A Python script reads the text, splits it into sentences and
tokens, then records which word tends to follow each
two-word phrase. The result is saved as
wordmap.json, e.g.:
"I was": { "thinking": 6, "wondering": 2 }
That means in the source text, "I was" was followed by "thinking" six times and "wondering" twice.
Like in real life, when you type something, Beep does not read it. He scans your message for the last 2-word phrase that exists in the word map and uses that as a starting point. If nothing matches, it starts from the beginning of a random sentence.
Starting from that 2-word context, Beep picks the next word using a weighted random choice (more common follow-up words are more likely). It slides forward two words at a time, stopping at sentence-ending punctuation, an end marker, or about 35 words.
The reply is generated instantly. The letter-by-letter typing and the animated head are pure theatre to make a very dumb algorithm feel a bit more alive.
TL;DR: Beep is a parrot with a dictionary made out of my own writing. It cannot understand you. It can only remix me.