rubyonai/chatgpt-ruby
🤖💎 ChatGPT Ruby – a simple gem for accessing the OpenAI API
This is a Ruby library that allows developers to integrate OpenAI's ChatGPT models into their Ruby applications. It takes user prompts as input and returns model-generated text responses. The primary users are Ruby developers building applications that require AI-powered conversational capabilities.
Use this if you are a Ruby developer looking for a straightforward way to add ChatGPT's text generation features to your application, including streaming responses and error handling.
Not ideal if you need to access other OpenAI features like DALL-E image generation or fine-tuning, as these are not yet supported.
Stars
40
Forks
7
Language
Ruby
License
MIT
Category
Last pushed
Jan 30, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/rubyonai/chatgpt-ruby"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
alexrudall/ruby-openai
OpenAI API + Ruby! 🤖❤️ GPT-5 & Realtime WebRTC compatible!
magma-labs/magma-chat
Ruby on Rails 7-based ChatGPT Bot Platform
flows-network/robo-lawyer
A Robo Lawyer Slack bot, powered by ChatGPT
contextco/codebasechat
Create a GPT chatbot for any GitHub repo in just 30 seconds
flows-network/slack-chatgpt
A general ChatGPT bot for your slack channel