I’m hungry, but I can’t decide — A small chatbot based upon Contenta CMS

Having a good content model enables a lot of usecases you can’t achieve on non structured content sites.

One example I’ve been working on is a chatbot.

Showcase

A chatbot suggesting something to cook

That chatbot allows a user to ask for the following:

  • A recipe (this stores the current recipe in the conversation context)
  • The ingredients of the current recipe
  • Instructions of the current recipe

This chatbot was built with Botmaster and is based on simple string matching. There are many other frameworks available for chatbots, with more advanced ones based on machine learning, and all of them enable you to forget about implementation details and create a bot that works for all kinds of different messaging apps (Twitter, Facebook, etc.)

The code is available here: https://github.com/contentacms/contenta-bot

Summary

Structured content enables interesting uses in multi-consumer platforms. Have a play with Contenta CMS and the bot, and please leave us any feedback on #contenta or @contentacms.

We would love to collaborate with people who have experience with building real-world chatbots, if that’s you then please get in touch!

Stay happy :)