How AI works

Educational simulation

From voice to reply

Input

When does the train leave?

Output

The next train leaves at 18:40.

Inside the networkTraining sets the weights. A different input changes the signals, not the weights.Illustrative activations
InputAudio frame features
Model layers · Speech recognizer
OutputQuestion transcript

The transcript goes to the language model.

Answer tokens (illustrative)

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