@obie: Full docs for my new Ruby gem feelings now available. Most idiomatic and fun way to add decision models to your code
Summary
Obie Fernandez announces full documentation for the 'feelings' Ruby gem, which provides probabilistic conditionals for adding decision models to code, inspired by LLM workflows.
View Cached Full Text
Cached at: 09/19/26, 01:05 PM
Full docs for my new Ruby gem feelings now available. Most idiomatic and fun way to add decision models to your code
https://t.co/ApWfZGt0ir
feelings: Probabilistic conditionals for Ruby.
Source: https://obiefernandez.com/gems/feelings/ A decision model answers a typed question about a value, with a calibrated probability attached to the answer. feelings lets a Ruby conditional ask one directly.
Feelings(email).like?("genuinely urgent")
Branch on the answer instead of a boolean:
Feelings(ticket).like("this customer is about to churn") do |mood|
mood.yes { escalate(ticket) }
mood.maybe { flag_for_review(ticket) }
mood.no { close(ticket) }
end
Or pick the closest match out of a small label set:
Feelings(support_message).most_like(:billing, :bug_report, :feature_request, :spam)
# => :bug_report
The family
- ruby_decision_model: the provider-neutral client the other two sit on. It talks to Jev through OpenRouter or Typesafe’s own API, and to any other decision model that ships.RubyGems
- decide: named policy decisions with floors, fail modes, and verdicts.RubyGems
- feelings: this gem, for the questions you would otherwise write as an
if.RubyGems
feelings is inspired byProbably, a small language for LLM workflows that showed what code reads like when anifcan ask a decision model a question.
Similar Articles
@obie: Hey rubyists, here's the best way to play with these new decision models like JEV from @typesafeai Full-featured, and f…
This post introduces 'ruby_decision_model,' a Ruby gem that enables interaction with decision models like JEV, providing a client for typed questions with calibrated probabilities and supporting multiple providers such as OpenRouter and Typesafe.
OneEmo: A Unified Multimodal Reasoning Model for Emotion Perception, Understanding, and Interaction
Introduces OneEmo, a unified multimodal reasoning model for emotion perception, understanding, and interaction, along with the EmoWorld-130K dataset and Emo-Chord reinforcement learning strategy.
@vboykis: new post: how I develop recently using local models. the tooling is now good enough to do agentic workflows and everyon…
Vicki Boykis shares her experience using local AI models for development, noting that recent releases like Gemma 4 have made agentic workflows feasible locally with about 75% accuracy of frontier models.
@MiaAI_lab: I fine-tuned Gemma 4 12B with Fable-5 style reasoning and assistant traces and released it as Gemmable 4 12b. **Availab…
Mia-AiLab released Gemmable 4 12B, a fine-tuned version of Google's Gemma 4 12B model using Fable-5 style reasoning and assistant traces, available in GGUF and MLX formats for local inference.
@HuggingModels: Meet Gemma 4 12B Agentic Fable5: a locally run GGUF model that thinks, reasons, and uses tools like a pro. It's built f…
Meet Gemma 4 12B Agentic Fable5, a locally-run GGUF model designed for coding, terminal tasks, and agentic workflows, with 206k downloads.