Glossary

The words, without the shrug

Every term the courses use, defined in one line and then in a paragraph. Written to be read out of order.

Clear

Showing 5 of 5 matching “RAG”

Draft persistence

Frontend

Saving what someone typed before they submit.

Keeping long-form input in browser storage as it is written, so an expired session or an accidental navigation does not destroy four paragraphs of work.

See also State, Validation

HttpOnly

Backend

A cookie flag that hides it from JavaScript.

Marks a cookie unreadable by page scripts, so a single injected script cannot steal a session. Tokens stored in local storage have no equivalent protection.

See also Cookie, Session

Index

Data & Databases

A lookup structure that makes one kind of query fast.

Like the index at the back of a book. Makes lookups on the indexed column fast, does nothing for other columns, costs storage, and slows down writes. Chosen per query pattern, not sprinkled everywhere.

See also Query, N+1, Full table scan

RAG

AI in the stack

Search first, then answer from what was found.

Retrieval-augmented generation: find relevant passages in trusted content, put them in the prompt, and have the model answer from them with citations. When results are bad the culprit is usually the search step, not the model.

See also Embedding, Grounding, Hallucination

State

Frontend

Data that can change.

The real question is never what the state is but where the authoritative copy lives: the server, the URL, component memory, or browser storage. Two copies of the same fact will eventually disagree.

See also Server state, Search params