Glossary: AI Security and Guardrails
Dataclass
Also written: @dataclass, dataclasses
A Python decorator that writes the `__init__` method for a class from its fields. The lab's `Result` class uses it to hold the raw reply, shown reply, tool calls and shop records.