Check it out at yomitosh.dev
The release of OpenAI's ChatGPT API was exciting and I was quick to sign up for access. I had used ChatGPT on the web that most are familiar with, but it was getting cumbersome having to sign in and verify that I am not in fact a robot.
My solution was to quickly put together a chat implementation that was fast and I could use freely. The metric I have just created whilst writing this is TTC (time to chat) and TTRFLR (time to receive first LLM response).
I emphasize 'quickly' because the first iteration of my chat feature would not do anything fancy or really be of much use. It sends a message and the user gets a response back for a single message sent, with no context of previous messages sent.
Whilst exploring the API docs, I discovered that ChatGPT can be primed to have some prior information for every chat. I soon imagined a sci-fi world where the knowledge held in a human brain can be offloaded onto an AI system to effectively make an AI clone. Thus
Chat with my consciousness was born.
I have had a swell time using my AI consciousness, it doesn't quite know everything I know and it seems to keep saying "As a large language model trained by OpenAI...". Otherwise, it has been helpful with everything that ChatGPT is typically helpful with, from bouncing around ideas, solving coding problems, rephrasing messages and more.
Not long after the initial version, I made improvements to the general useability and I also let everyone on my socials know that they can chat with my artificially intelligent consciousness...repeatedly. It seems someone somewhere took advantage of that and my bill is now more than $50 in the month of April, yay!
I do not track users using this feature because this was intended to be quick but I do track where users are visiting from, on the site and I have seen locations that I am unfamiliar with. What I do know is that I get alerts regularly that my set limits for the OpenAI API have been reached and each time I hit the limit, I increase it as I'm growing dependent on this tech🥲.
So I hope this teaches me a lesson and I hope you got something out of this too.
Some technical details:
- Added GPT-4 toggle to use GPT-4
- Added Chat history buttons to view and continue previous chats