How To Use ChatGPT With JavaScript (NodeJS & Express)

Опубликовано: 12 Октябрь 2024
на канале: Tom Is Loading
66,012
1k

Animated UI components for React, Tailwind CSS, Framer Motion & More ✨ https://www.hover.dev

Today we'll harness the power of GPT-3, along with NodeJS and Express, to build out a REST API using OpenAI's platform!

For our example, we'll write a POST endpoint which takes a piece of code, then returns the Big O time complexity of that code. That said, you can easily use the same technique to build just about whatever you want!

📚 Project Links
code: https://github.com/TomIsLoading/gpt-3...
Sign up for OpenAI: https://openai.com/api/
More examples: https://beta.openai.com/examples

🔗 My Links
GitHub: https://github.com/TomIsLoading
Twitter:   / tomisloading  
Instagram:   / tomisloading  
TikTok:   / tomisloading