vicentereig/dspy.rb
The Ruby framework for programming—rather than prompting—language models.
This project helps Ruby developers build reliable applications that use Large Language Models (LLMs). Instead of manually crafting and debugging text prompts, you define clear input and output types for your LLM tasks. The framework then handles the underlying prompt generation, making LLM calls more predictable and robust. It's for Ruby developers who want to integrate AI capabilities into their applications.
208 stars.
Use this if you are a Ruby developer building applications and need to integrate Large Language Models (LLMs) in a structured, reliable, and type-safe way, moving beyond simple prompt engineering.
Not ideal if you are not a Ruby developer, or if you need to perform very simple, one-off LLM interactions that don't require complex logic, type safety, or robust chaining.
Stars
208
Forks
16
Language
Ruby
License
—
Category
Last pushed
Mar 07, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/vicentereig/dspy.rb"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
microsoft/multilspy
multilspy is a lsp client library in Python intended to be used to build applications around...
mlc-ai/xgrammar
Fast, Flexible and Portable Structured Generation
feenkcom/gt4llm
A GT package for working with LLMs
Evref-BL/Pharo-LLMAPI
Use LLM API from Pharo
antononcube/Raku-LLM-Functions
Raku package for functions and function objects to access, interact, and utilize LLMs.