How AI works

Educational simulation

An answer from a document

Input

Output

  1. Text layer · no OCRReturns within 30 days
  2. RAG · find the passageReturns within 30 days Page 4
  3. Language model · answer tokensReturns are allowed within 30 days.
Inside the networkTraining sets the weights. A different input changes the signals, not the weights.Illustrative activations
InputPDF text layer
No model call · PDF text layer
OutputText ready for search

The PDF already contains selectable text. Search can start without OCR.

Model, tools and application
Model

Transforms data

A language model scores possible continuations. Models for other formats can encode audio or generate images.

Harness

Manages tools

It extracts text from files, calls search, gives results to the model and checks which actions are allowed.

Application

Provides the workspace

ChatGPT assembles conversation context. Codex can also work with project files, run commands and run checks.

Sources and simulation limits
How AI works | AI BriefWire