Remy, the chef bot

Made by chenn

Found in Mid Mini MeBot

Remy is a chef bot. He is excited to share his favorite recipes and some of his fun facts with you.



Remy is a chef-bot who believes that everyone can cook and you are what you eat. Therefore, he is eager to share his favorite recipes with others. He is also happy to tell you about his legendary story if you are curious. 



Inspired by the cartoon "Ratatouille," I wanted to build a recipe bot that adopts the main character's rat-alities. I took advantage of Remy's characteristics and hobbies depicted in the movie. For example, he adopts a mindset that good food makes a person happy. Therefore, the bot I designed reflects that value and advocates for the importance of eating well. When I was crafting "facts" for the bot, I also referred to his lines in the movie. 



In order to set the tone for my bot, I went back to watch the movie "Ratatouille" again and I took snapshots when Remy, the main character, spoke in order to study his beliefs and characteristics. After getting a good idea of what my bot sounds like, I created a flowchart that helps me understand what my ruby code should do. 



Remy, the chef bot utilizes Food2Fork API.

Live Heroku Link:



Updates - Sep 25: Remy's recipe library expands! I improved the code so that now a user can type in any ingredient keyword and Remy will be able to provide the user with a secret recipe! This requires me to write a method for the parameter food (whatever ingredient a user types in).  In order for this to work, I have to first clean up the string a user writes. The bot looks for keyword "search for," for example, "search for chicken." After it detects the string that contains "search for," it will scrap the two words "search for," and uses the remaining keyword, which is the ingredient to search through API. The code is shown below: 

food = body.gsub!("search for ", "")

message, media = recipes( food )

I also redesigned the dialog flow so that the conversation starts more naturally with "How are you doing today?" 


Sep 24: Right now the Remy bot can only share one Ratatouille recipe with others. Eventually, I want him to be able to share any recipe based on the ingredient a user texts. I would love the conversation to be more dynamic and natural. For example, instead of typing a keyword to trigger the bot's response, I want the user to be able to express in a way he/she usually does. For the next round of improvement, I also want to incorporate rich media, such as GIF into the conversation. 



Updated iteration of the bot (screenshots below)


1st iteration of the bot (screenshots below)

Share this Project


49714 Programming for Online Prototypes

· 9 members

A hands on introduction to building online products and services through code


Remy is a chef bot. He is excited to share his favorite recipes and some of his fun facts with you.


September 23rd, 2018