Skip to content

Instantly share code, notes, and snippets.

View alexrudall's full-sized avatar

Alex alexrudall

View GitHub Profile
@alexrudall
alexrudall / #Rake Task to release KeyGen.sh gem.md
Last active June 17, 2024 16:15
Rake task to release a new version of a private gem on KeyGen.sh

Ready-made rake task to release new version of private gem on KeyGen.sh!

How to: Just copy tasks.rake into your project, replace ai-engine with the name of your gem, and run!

  app:tasks:release[your-gem-name,0.1.1]
@alexrudall
alexrudall / #ChatGPT Streaming.md
Last active July 2, 2024 22:32
ChatGPT streaming with ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind!

How to add ChatGPT streaming to your Ruby on Rails 7 app!

This guide will walk you through adding a ChatGPT-like messaging stream to your Ruby on Rails 7 app using ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind. All code included below!

Want more content like this, for free? Check out my free book, RailsAI!

Alt Text