Skip to content

Instantly share code, notes, and snippets.

@truegen93
truegen93 / information.md
Last active February 1, 2026 20:06
InteractiveChat Information

InteractiveChat - Third Order Markov Chain Bot

Definition of Training (Provided by Gemini)

Training a Third Order Markov Chain on Twitch chat is like building a massive "likelihood library" out of the chaos of a live stream. Here is how that raw data becomes a bot: The Training Process

Data Scraping & Cleaning: The bot connects to the Twitch IRC or API, logging every message sent. It filters out system messages, emojis, or excessive "copypasta" to ensure the data quality isn't just spam.

Tokenization: Each message is broken down into "tokens" (individual words). For example: PogChamp that play was insane.