ChatGPT, Replit, and the AI Flywheel
"matisse oil painting of happy people looking at computer screen" - OpenAI's DALL-E image generator

ChatGPT, Replit, and the AI Flywheel

Something happened to me last night that would have seemed like science fiction even a few months ago. It has me convinced that OpenAI and Replit may be the two most important startups of the 2020s.

OpenAI's ChatGPT project, which garnered 1 million users in 5 days (!), is a chat-style user interface for interacting with OpenAI's davinci large language model - a way for people to easily chat with "AI". It was trained on publicly available information to answer just about any question you may have.

What if you had a private chat assistant that could answer questions about your company or your product? OpenAI enables you to "train" their models on your own data, but that can be a painstaking, time-consuming process. I wanted to see how easy I could make it.

Enter Replit. Replit’s web-based IDE & virtual environment enables anyone to code, run, and build apps. It's like walking into a fully-stocked kitchen and cooking... well, whatever you can think up.

Last night, after the kids went to bed, I tried using ChatGPT and Replit to follow this thread:

  1. Fetch historical customer support chats.
  2. Use GPT-3 to parse the chats for product-specific question and answer sets.
  3. Use those sets to train a GPT-3 model on your product information - perhaps alongside FAQs, help pages, and other product documentation.

You could then use that model behind a chat UI to onboard & train new employees, auto-suggest customer support responses, write blog posts for the website, do your laundry, etc.

What I did not expect was having built a working prototype in Replit in 3 hours:

1. Fetch and format historical conversation data from Intercom:

Image of Replit UI showing code fetching data from Intercom
Fetch data from Intercom

2. Feed each chat into the GPT-3 model, ask the model to structure the chat into a product-specific prompt/response output:

Image of Replit UI showing code using OpenAI's API
Sending chat data as prompts to OpenAI's text-davinci-003 model

3. Add the output to a file for human eyes to review and grade:

Image of Replit UI showing code adding GPT-3 output to JSON
Finishing touches...

After some testing and tweaking done in the Replit UI… it worked!

The kicker? The first line of Python I have ever written was for this app. Last night.

And that's possible because I didn't write the first line of of code for this app. ChatGPT did:

ChatGPT interaction where author is asking model to return code for the app described in this article and the code that ChatGPT returned
ChatGPT tweaking it's own code at my request

The ability to build and run an app like this in ~ 3 hours, combined with the recursive nature of this exercise, highlights the possibilities inherent in the flywheel. Sooner than we expect, the ability to build software will only be limited by logic and will, not time or knowledge. I was initially skeptical of Amjad Masad 's prediction that tools like these together will boost developer productivity 100x.

After last night, I have no doubt.

(Post?NOT?written by ChatGPT)

Waleed Cope ????

Laundry CEO? - Laundromats - Laundry Pick Up & Delivery - Laundry Business Newsletter & Podcast

1 年

Great piece and project in 3 hrs Nick. Used ChatGPT a few times and it opens a lot of possibilities for SMBs.

I had pretty much the same experience a few days ago! I wanted to hack together an MVP. I studied one CS course over 5 years ago but haven't done any programming in my life otherwise. I could get my MVP built in an hour: https://twitter.com/eliasfaltin/status/1605371258555707393?t=t5SHEV3neTgOaP6tyXRXhg&s=19 Really mind-blowing experience. I love the recent update to ChatGPT that allows you to save your chats so you can preserve the context of your conversation with ChatGPT more easily!

Steve Brothers

High Integrity Executive | Helping People to be the Best Versions of Themselves | Leader Assisting Individuals to Find the Joy in the Work That They Do

1 年

Impressive. This will certainly improve the productivity of writing code. I still wonder when an emphasis will be placed on AI tooling to automate/assist with maintaining all of that new code that people will be able to crank out so fast. Certainly automation of those cognitive tasks is an opportunity to substantively contribute to that 100x target.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了