LLM layer for a Rails application

A pragmatic pattern for wiring LLMs into a Rails app: base class, ERB prompts, two-level tests, and context strategies.