Adding OpenAI-powered chat? Well, why not…


The author has been experimenting with the OpenAI API and has created an AI assistant that you can try out. The API is a pay-per-token service, so don't spam the assistant. The author also mentions that this is part of the "Web Starter Portal" and provides a link to the git sources. The author shares some takeaways from their experiment, including the fact that GPT-4 is better at following instructions than GPT-3.5. They also mention that OpenAI has the concept of "functions" but it's possible to achieve similar results without using them. Integrating with NextJS is straightforward, and the author provides an example of how to call the OpenAI API. The author concludes by mentioning the limitations and costs of using these models but highlights the fun aspect of asking questions in different ways and still getting the desired answer.


Article 17m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time