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: 184,592 of 198,298
Downloads: 1,871

Daily

Ranking: 18,424 of 198,269
Downloads: 45

Depended by

RankDownloadsName
197,975228squishling-apple_fm

Depends on

RankDownloadsName
71584,793,385json_schemer
4,2522,577,108schematist

Owners

#GravatarHandle
1iconmikecarroll