a r.uby.dev project

A r.uby.dev project.

Welcome

Introduction

Overview

Welcome to the llm.rb deepdive. This document is a continuation of the homepage documentation. It assumes you are familiar with the basics already, and focuses on features that didn't make it into the homepage documentation.

An optimized version exists at https://r.uby.dev/llm/deepdive that is both easier to read and navigate.

How it works

Each topic file follows a consistent four-part pattern: #### Overview introduces the concept, #### How it works shows code, #### Why would I use it? explains the use case, and #### Notes covers caveats and edge cases.

Why would I use it?

The deepdive documents everything the homepage leaves out: advanced patterns, configuration options, ORM integrations, protocol support, and edge cases. Read it when you need to go beyond the basics.

Notes

The deepdive is a living document. Sections are added as new features land. The homepage is the best place to start if you are new to llm.rb.


Fundamentals

Advanced

Protocols

Everything else