Skip to content

Glossary: RAG Beyond the Basics

Dataclass (frozen)

Also written: dataclass, frozen dataclass, dataclasses.replace

A Python class that just holds named values. "Frozen" means it can't be changed by accident, so `Config.but(...)` returns a modified copy instead, and `dataclasses.replace` does the same.

Where the book teaches it

Related terms

Ladder