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, or any OpenAI-compatible endpoint, or your own adapter) 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: 175,142 of 199,098
Downloads: 2,753

Daily

Ranking: 17,828 of 199,060
Downloads: 35

Depended by

RankDownloadsName
198,119296squishling-apple_fm

Depends on

RankDownloadsName
70187,517,044json_schemer
3,9533,149,887schematist

Owners

#GravatarHandle
1iconmikecarroll