How AI works
Educational simulationAn answer from a document
Input
Output
- Text layer · no OCR
Returns within 30 days
OCR · scanned page30 days - RAG · find the passage
Returns within 30 days
Page 4 - Language model · answer tokensReturns are allowed within 30 days.
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
- Attention Is All You Need: attention and feed-forward sublayers.
- GLIDE: diffusion-based image generation.
- Denoising Diffusion Probabilistic Models · Ho et al.
- OpenAI: audio: chained and direct audio processing.
- OpenAI: retrieval: retrieving relevant passages.
- CLIP · Radford et al. / Faiss