Skip to main content

Command Palette

Search for a command to run...

Using GPT-3 To Build A Javascript App

Published
2 min read
Using GPT-3 To Build A Javascript  App
A

Code Cruncher, Data Science Enthusiast, Anime Nerd, Sir Read-A-Lot!

OpenAI’s GPT-3 Can Now Generate The Code For You

Ever since its release last month, OpenAI’s GPT-3 has been in the news for a variety of reasons. From being the largest language model ever trained to outranking state of the art models on tasks such as translation and question-answering, GPT-3 has set new benchmarks for natural language processing.

1 qPao_uBbHlzHIzOL7ejI8w.png

My Experiments with GPT-3

1. To-Do List App

I built a To-Do list app simply by describing it to GPT-3. It generated the React code for a fully functioning app within seconds. I'm becoming more impressed and aware of its capabilities every single day.

2. Google Search Engine Page

Here's a sentence describing what Google's home page should look and here's GPT-3 generating the code for it nearly perfectly.

3. Generating Custom Layouts

With GPT-3, I built a layout generator where you just describe any layout you want, and it generates the JSX code for you.

Potential and Future

OpenAI with the beta release of its API has attracted a plethora of experts and amateur developers to implement exotic machine learning models for their software development chores. Now it will be only a matter of time before more innovations surface in the developers community!


  • Like this technology? Have some amazing ideas for GPT-3? Comment Below!
  • If you liked this article, give Yours Truly a follow and support this blog.

B

GPT-3 looks incredible and a touch scary too, doesn't it Atharva? Scary because, imagine the leap a GPT-5 would have for example.

Thanks for this amazing article!

1
A

Thank you for your appreciation. Yes indeed, it certainly does, in doing so it paves the way for Non-Tech people to experiment and discover amazing code and takes the burden off of developers to consistently write the same trivial code for very simple apps. I don't think it can steal our jobs anytime soon though. :)

B

Yeah perhaps 2040s is the time when panic sets in. Perhaps our generation won't have as much to worry about. Keep going! Atharva Shah

M

It is in closed beta. You requested for access?

T

Very nice start! I would be looking forward to getting more examples like these.. looking interesting.

1
A

Thanks for the feedback. I'm planning to write a post with new examples and explain the integration process of the GPT3 API. Stay tuned.

1
S

How did get access to it's api ?

A

Try the demo here.

https://beta.openai.com/

Join the waitlist here. OpenAI GPT-3 is still in Beta.

https://share.hsforms.com/1Lfc7WtPLRk2ppXhPjcYY-A4sk30

1
V

Very cool! Would love to see more! :)

1
M

Great article!

Please share more examples

1
A

Thank you for your response. I certainly will do that. Stay tuned. :)