Inspiration
To make finding solutions of problems , errors, doubts and learning new languages easy.
What it does
It converts your English statements, questions, doubts into code/program of any desired programming language and on default into python ( when no programming language is specified ).
How I built it
I used GPT-3 API from OpenAI and integrated with my frontend. Then, I did some prompt engineering to get the basePrompt perfect for the output to be the best fit and optimal. For building the frontend I used Next.JS as the framework and used Typescript for scripting the logics, functions and UI. I also used TailwindCSS to enhance the user interface to make the website more user friendly.
Challenges I ran into
Figuring out the right basePrompt was a challenge.
Accomplishments that I'm proud of
Completing the project, learning a lot more about AI and GPT-3
What I learned
Integrating a backend in NextJS application. GPT-3, its uses and how far this technology can go with the right mindset and skills.
What's next for Language2Code
To make the output as optimal as possible to the prompt/input, adding explanations of the code/programs as comments for better user understanding and more features as the technology grows around us.
Built With
- gpt-3
- nextjs
- openai
- tailwindcss
- typescript


Log in or sign up for Devpost to join the conversation.