RubyGems Navigation menu

llm.rb 2.1.0

llm.rb is a zero-dependency Ruby toolkit for Large Language Models that includes OpenAI, Gemini, Anthropic, xAI (grok), zAI, DeepSeek, Ollama, and LlamaCpp. The toolkit includes full support for chat, streaming, tool calling, audio, images, files, and structured outputs.

Gemfile:
=

install:
=

Versions:

  1. 2.1.0 December 06, 2025 (51.5 KB)
  2. 2.0.1 November 12, 2025 (50.5 KB)
  3. 2.0.0 November 06, 2025 (50.5 KB)
  4. 1.0.1 October 08, 2025 (51 KB)
  5. 1.0.0 September 28, 2025 (51 KB)
Show all versions (39 total)

Development Dependencies (11):

dotenv ~> 2.8
kramdown ~> 2.4
rake ~> 13.0
rspec ~> 3.0
standard ~> 1.50
test-cmd.rb ~> 0.12.0
vcr ~> 6.0
webmock ~> 3.24.0
webrick ~> 1.8
yard ~> 0.9.37

Owners:

Pushed by:

Authors:

  • Antar Azri, 0x1eef

SHA 256 checksum:

=

Total downloads 58,314

For this version 147

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: