Recently, OpenAI released the 3.5 turbo edition of their ChatGPT along with API access to it.
It sparked me as a fascinating opportunity, with the access to their API but also the huge reduction in costs, which made it 10x cheaper.
As a writer in the mixed martial arts space, I’m constantly looking out for opportunities where I can fuse my passion for combat sports with my joy of technology.
And as soon as ChatGPT API opened up, I had an idea.
Being able to use the supreme technology behind this AI in your own applications opens up the door to endless possibilities.
I woke up and had the idea: what if I can create a chatbot that resembles the personality of Conor McGregor?
I got to work.
I knew I had ChatGPT’s API now to rely on for the bulk of the technology to make this idea work.
I tried out ChatGPT and asked it to respond to me in the personality of Conor McGregor. Then asked it a few questions, and immediately had a few laughs.
Then I felt like this was really something that could work, I just needed to display it in a way that masquerades as the personality for long enough to be somewhat believable.
At the end of the day, I want people to know it’s just for a few jokes and not to take it too seriously - so the ChatGPT responses going “off script” wasn’t a huge problem and was expected.
I immediately went over to Upwork and started drafting up a job description for what I wanted it to do.
I knew that it shouldn’t require any advanced knowledge or setup because it should just be sending the context to the API to respond with a certain style. Sending and receiving messages and displaying them, pretty simple.
Not so simple that I could code it myself, because I don’t have enough of those skills, but know enough that it’s a straightforward implementation.
While writing a job post to get this built, it came to me that I should probably start exploring some cheaper options, maybe even no-code options.
After a bit of Googling around, and checking the WordPress plugins repository, I came across two options that had already built functionality into OpenAI and specifically ChatGPT.
Lucky for me, the morning that the API was released, the developer of one of these plugins had already released an update to use it.
That same plugin, AI Engine, had several features and one of which was the ability to embed a chatbot directly into your WordPress-based website.
Perfect!
So I installed the plugin on one of my existing sites and started playing around with it.
Within a few minutes, I could set it up and give it the context to “act like the famous UFC star, Conor McGregor” and it would do it!
It’s pretty amazing, I thought.
Because there is already a huge amount of information about Conor McGregor out on the internet, it’s allowed ChatGPT to have a ton of data about his personality.
Quotes, interviews, opinions, questionable situations; tons of news stories, and opinion pieces about him give ChatGPT plenty to go with.
Now that I knew it could be done, I showed it to a friend and we both had an initial reaction that it could be even better if it looked like an actual conversation with him.
And with this being a chat window, it made sense to start styling it to look like an iMessage chat.
A quick Google and I found an iMessage chat styling on Codepen and began customizing the style of AI Engine’s chat functionality:
I kept tinkering at it to improve the style, by removing the name tags on messages and adding more iMessage UI elements that would make it look very iOS themed on mobile:
I continued to spend more time customizing the CSS of the web app so that the header would stay sticky when you scroll, replaced the send message button to look more like iMessage, and fixed whatever bugs I could find:
All the while, I was constantly tweaking the prompt that is given to ChatGPT.
While you can get quite far with saying “act like Conor McGregor” and ChatGPT will do it, eventually, it can get lost, or completely forget what it was tasked to do, or break character with “game-breaking” phrases.
So I continued adding more messaging into the context for AI Engine/ChatGPT to use, things like:
These weren’t exactly perfect firewalls, but they worked enough to make it still fun to use. And for those who really wanted to break it, of course, they can go ahead. It’s just for fun!
I published the website and began thinking about how I could get this in front of people.
A friend told me this would probably go down really well on Reddit, so after two days of working away at improving my fun chatbot, I shared it on the /r/internetisbeautiful subreddit.
At first, it was pretty much crickets.
But after a few hours, the upvotes picked up fast and the comments started rolling in:
After a few hours, my little fun chatbot project had over 400 upvotes, and redditors were commenting to share the funny conversations they’d had with him.
After a day or so, the post had over 700 upvotes and dozens of comments of amusing conversations and people sharing how they’d had fun with it.
In the first two days, my chatbot app had over 8,000 sessions!
It ended up costing around $70+ in OpenAI fees, but it was well worth it to try this idea and see what noise it could generate.
And still, weeks later, the app still gathers 30-50 users and up to 50 sessions per day. It is still getting searched on Google and people are still having fun with it!
This little project was my first real attempt at creating something I thought could go viral and something that would make people smile.
It’s helped me to change my perspective about what I could create that brings a bit of joy to someone’s day. That’s what will generate virality and create some noise.
I’m still pondering what my next project will be that uses the potential of tools like ChatGPT and AI, but perhaps something bigger and better next time!
If you want to try my Conor McGregor chatbot, visit askconor.com and ask it anything you like! He loves to trash talk the most, so don’t be afraid to wind him up as he loves to give it back as much as he gets.
Also published here.