Skip to content
Search

RubyLLM

lastmod 2025-03-18created 2025-03-181 edits

A delightful Ruby way to work with AI. No configuration madness, no complex callbacks, no handler hell – just beautiful, expressive Ruby code.

Working with AI the Ruby way

About

  • A beautiful, expressive, Ruby-based unified AI library
  • Each AI provider has different client libraries, response formats, and streaming handling, and using multiple AI models means dealing with incompatible APIs and complex dependencies
  • RubyLLM provides a unified API that solves these problems

Key features

  • Chat: supports OpenAI, Anthropic, Gemini, and DeepSeek models
  • Vision and audio: understanding images and audio
  • PDF analysis: document summarization and analysis
  • Image generation: supports various models such as DALL-E
  • Embedding generation: vector search and semantic analysis
  • Tools: integrate Ruby code with AI
  • Rails integration: can store chat history with ActiveRecord
  • Streaming: supports real-time response handling

See also

Favorite site

author Zer0 sitemap