Skip to content
  • Chat Experience
  • Technology
  • Staffing
  • Developers
  • Pricing
  • Insights
  • English
    • Suomi
    • Deutsch
    • Svenska
    • Tiếng Việt

Fun with Markov Chain Chatbots

Contact us to get your chatbot built

Markov chains provide an easy way to generate plausible-sounding nonsense in a chatbot. They aren't particularly useful for serious purposes, but they can be used for an entertainment bot or to lighten the conversation with occasional silliness.

What is a Markov chain?

A Markov chain is a statistical process built on a state machine. In computational theory, a state machine is a physical or virtual machine that has some number of discrete states. It transitions from one state to another according to a set of rules. In a Markov process, the rules are based on probabilities. Given the machine's current state, there's a specified probability for one or more states that it will go there next. It could stay in the same state if that's appropriate.

When a chatbot uses this method, it will produce a piece of output to go with the state transition. This lets it construct sentences that are different every time but are more or less coherent. The starting state can be based on the user input, giving the response some relevance.

How does a Markov bot respond to users?

For instance, suppose the user asks "What is the secret of the universe?" The bot might pick up "universe" as a keyword to select its starting state. It could start by picking from one of several universe-related phrases and build up a reply by random association. It might be something like "Space is / a remarkably / delicious drink / made from / recycled cork boards." The response will usually look like nonsense, but once in a while its answers might be mistaken for profound philosophy.

A Markov chain bot could imitate a well-known person's style. It would take a large collection of sentences the celebrity has said and construct its states and probabilities based on them. Some bots of this kind might even adapt over time, "learning" new states and probabilities from new input. A bot could learn to imitate its users or work current headline topics into its output.

While this type of bot isn't a serious application of the technology, some people could take its output seriously. It should be used with caution.

More about chatbots

Customer Journey, Touchpoints and Chatbots When Booking Services

Customers generally tend to use online searches to book services. This may include anything from holidays, events, appointments, and courses to personal services. In the

Read More »

Why Chatbot is Necessary for Businesses and When Do We Need Them?

What are Chatbots? Simply put, chatbots are computer programs or apps that can have or at least mimic a real conversation. They are used in

Read More »

How to Automate Facebook Customer Support on Your Facebook Page?

Having a Facebook page for your online business not only helps you contact customers easily. It also gives them fast access to your products and

Read More »

What is a chatbot? – Introduction to chatbots 2019

Communication technology is progressing very fast. And today, most people prefer to connect through either text messages or messaging applications. To make life more convenient,

Read More »

3 Ways to Use Chatbots in the Legal Industry

1) Qualify Leads with Multiple-Choice Questions Chatbots are fantastic at qualifying leads because they greet website visitors with a friendly question. The best way to

Read More »

Chatbots for Real Estate Agents

Real estate agents can expand their client base with the help of chatbots. They don’t replace personal communication with active clients and buyers, but they’re

Read More »
Linkedin Twitter Instagram

Lue lisää chatboteista

  • Palvelukokemus
  • Teknologia
  • Hinnoittelu
  • Yhteystiedot
  • Chatbotit -blogi
  • Chatbot -työpaikkoja
  • Chatbotit eri toimialoilla
  • Chatbot-caset

Suosituimmat

  • Chatbot suomeksi
  • Botti FAQ
  • Ohjelmistorobotiikka ja chatbotit
  • Suomenkielinen chatbot
  • Chattbottien tietoturva
  • Chatbot vs ihminen
  • Mikä se chattibotti on?
  • Chatbottien teknologia