Categories: None [Edit]

squishling

https://rubygems.org/gems/squishling
https://github.com/Coolhand-Labs/squishling
Squishling makes Ruby classes elastic. Add a squishling to a class and it can send inputs straight to an LLM (OpenAI, Anthropic Claude, Google Gemini, or any provider RubyLLM supports) and return strict-schema-validated, typed results: the same type your Ruby code returns. Use it to gracefully maintain fickle integrations, build interfaces for unknown data formats, and rescue production errors by handing the failing call to the LLM with the source class as context. Write Ruby only for the paths where token costs justify maintaining it. Per-input routing, validated retries, and fallbacks for your LLM calls included.

Total

Ranking: 193,303 of 197,483
Downloads: 596

Daily

Ranking: 16,460 of 197,443
Downloads: 15

Depended by

RankDownloadsName

Depends on

RankDownloadsName
72582,038,974json_schemer
2,07914,381,933ruby_llm
5,4831,374,530schematist

Owners

#GravatarHandle
1iconmikecarroll