/roastmate

what are you looking at?

Primary LanguagePython

Roastmate

image

what are you looking at?

1) What?

Roastmate is an iMessage chatbot that roasts you, your friends, and anyone who happened to be within line of sight of your phone screen.

Stack:

  • Python
  • Heroku for hosting
  • Sendblue.co (for programmatically sending iMessage)
  • ChatGPT

It was retired in October 2023 after a rapid decline in number of friends. Some of Roastmate's greatest hits can be found here.

How did Roastmate work?

The full flow is here but the TL;DR is:

  1. When a new message is sent in a chat it's in, Roastmate had an N% chance of responding (best N we found was 10%)
  2. If it's responding, it generates the response via prompting ChatGPT, including the last few messages from the text thread (this was created before the Assistants API came out so we had to manually hold on to chat history)

There are other details but that's pretty much the gist of it.