Simple page using ChatGTP API written using Rails 7.1.1. and Tailwind.
Video time 🎞️
Register and create API.
Edit credentials in local:
EDITOR="nano" rails credentials:edit
Start the server with /bin/dev
This code is based on the tutorial Integrate OpenAI to Rails, Get started with OpenAI APIs