Tutorials
1 in the last 7 days (+0% vs. prior week)Articles
9Chunk Retrieval Documents by Structure First, Then Tune the Size With a Measurement
Fixed 500-token windows are a fine baseline and a poor ending point. Splitting along the document's own structure and checking the result against real questions usually beats any amount of overlap tuning.
Schema Design for LLM Output: Field Order, Enums, and Honest Escape Values
Your JSON schema is part of the prompt. How you order fields, define enums, and mark optionality changes both validity and content quality.
Versioning Stored LLM Output: Schema Stamps, Upcasters, and Deliberate Backfills
Generated records outlive the prompts that wrote them. Stamp versions at write time, upcast on read, and backfill only where it pays.
Build a Minimal Eval Harness in an Afternoon: Cases, a Runner, and Diffable Results
A useful eval harness is three small parts: JSONL cases, a boring runner and diffable results. Built on Anthropic's principles for developing tests.
Hybrid Search Beats Pure Vector Search More Often Than Vendors Admit
Embeddings miss exact matches by design. Here is how keyword plus vector search with rank fusion and reranking fills the gap, and how to tell if you need it.
A Practical Walkthrough: Adding Semantic Caching to an LLM Endpoint
Exact-match caching barely helps LLM traffic since real users rarely repeat a query verbatim. Here is how to build a semantic cache that saves money without silently serving the wrong answer.
Chunk Size Isn't the Whole Story: A Practical Guide to Splitting Documents for RAG
Chunk size is the least important chunking choice. Split on structure, give each chunk its context, and test retrieval recall before tuning the knob.
Handling PDFs, Images, and Other Multimodal Inputs in an LLM Pipeline
Piping raw files straight into a vision-capable model works in a demo and falls apart in production. Separating extraction from understanding — and caching the extraction — is what makes multimodal features debuggable.
Parsing Partial JSON From a Streaming LLM Response Without Guessing
Streaming tokens as they arrive breaks the standard JSON parser — here's how to validate a structured response incrementally instead of waiting for the whole thing or writing a fragile regex patch.
Signal
No signals yet
Signals related to this topic will appear here as new intelligence is published.