| RubyLLM: A Ruby framework for all major AI providers(rubyllm.com) | |
| 408 points by doener 23 hours ago | 70 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:
| |