llm.rb is a zero-dependency Ruby toolkit for integrating multiple Large Language Models including OpenAI, Gemini, Anthropic, xAI, DeepSeek, Ollama, and LlamaCpp. It provides a unified API for chat completions, streaming, tool calling, structured outputs via JSON schemas, audio transcription/generation, image generation/editing,

15m read time From github.com
Post cover image
Table of contents
AboutQuick startFeaturesMatrixExamplesInstallLicense

Sort: