| RubyLLM: A Ruby framework for all major AI providers(rubyllm.com) | |
| 442 points by doener 58 days ago | 78 comments | |
tl;dr: RubyLLM is a unified Ruby framework that provides a single interface for working with major AI providers (OpenAI, Anthropic, Gemini, Bedrock, Ollama, etc.), with only three dependencies (Faraday, Zeitwerk, Marcel). It supports chat, vision, audio transcription, document analysis, image generation, embeddings, tool calling, agents, structured output, and streaming. The framework includes Rails integration via `acts_as_chat`, generators for chat UIs, and a registry of 800+ models with capability and pricing detection. | |
HN Discussion:
| |