Skip to content

LLM conversations & apps · Full-stack engineering

Put LLMs
to work

Not how impressive models are — what it actually takes to run them in production: selection, prompting, data, tools, cost, evaluation and launch.

  • Organized around real engineering problems
  • Cited claims, runnable code

Knowledge base · 12 chapters / 4 layers

A four-layer path from first call to production

Each chapter solves one stage of taking an LLM into production. Cards show published counts; chapters still being written are marked accordingly.

Paths by role

Three routes through the same twelve chapters

Application developer

Ship a working product fast: boundaries first, then clear prompts, retrieved knowledge, serving, and finally operations.

  1. 01
  2. 03
  3. 04
  4. 08
  5. 11

Chapters in suggested reading order

Start here

Model engineer

Tuning performance and cost: from mechanisms to inference, training and evaluation, always watching throughput, memory and quality.

  1. 01
  2. 08
  3. 09
  4. 10

Chapters in suggested reading order

Start here

Product & project lead

Decide whether a plan can land: model selection, automation boundaries, acceptance criteria and industry cases.

  1. 02
  2. 05
  3. 10
  4. 12

Chapters in suggested reading order

Start here

Latest updates

Newly published

All chapters →
Fine-tuning & AlignmentHands-on6 min read

Mixing in 10% old data recovers only 4.6 points: after fine-tuning, forgetting is 'whoever trains last wins'

Six controlled arms: replay only buys a compromise, reheating the old task pushes the new one back to square one, and a single-head joint run has a ceiling too. Classify the conflict before you reach for a knob.

2026-12-05
Multimodal & Real-time InteractionHands-on6 min read

The image looks fine and OCR returns a blank page: three silent traps in EXIF orientation, 16-bit depth and transparency

Three synthetic documents of 102 characters each, seven preprocessing paths, three tesseract runs per path. Saving an EXIF Orientation=6 file without transposing gives a 100% character error rate; converting a 16-bit scan (values 3000-60000) straight to RGB pushes 100% of pixels to 255 and blanks all three documents; a transparent PNG whose hidden RGB under alpha=0 is black turns the whole image black and blanks them too. None of the three paths raises an exception, and every output is a valid PNG. Transpose first, composite second, normalize depth third, resize last, and all of them return to 0%.

2026-12-04
Multimodal & Real-time InteractionHands-on4 min read

How much can field validation catch in OCR output? On 200 documents, order numbers 32/32 and totals 45/45, but dates 3/14 and unit prices 0/27

Across 200 synthetic documents and 1,400 fields, tesseract's field error rate was 10.9% and only 115 documents had all seven fields right. Three rule layers (format, check digit, total cross-check) flagged 75% of wrong fields with a 7.4% false-flag rate, leaving 2.7% silent errors. Order numbers, line subtotals and totals were nearly all caught, dates only 3 of 14 and unit prices 0 of 27. A character-confusion repair pass (O to 0, I to 1) fixed 0 of 90 wrong amount fields.

2026-12-03
Multimodal & Real-time InteractionHands-on4 min read

How far to compress an image before it enters the model: tokens follow pixel size, not JPEG quality

On gpt-6-astra the detail parameter defaults to auto, and auto equals original: a 4000x3000 screenshot is 11,750 32px patches, 14,100 tokens, and anything past 30,000 patches is rejected rather than resized. On one A4 page, character error rate was 100% at the 512 tier, 84.8% at 768, 15.6% at 1024 and 4.0% at the high budget; saving the same image as JPEG q40 cut the file to 42% without removing a single token.

2026-12-02

Have a concrete scenario to discuss or spot a problem? openaihpc@gmail.com

OpenAIChat · Full-stack engineering for LLM-powered conversations and apps