Skip to content

Glossary: LLMs in Production

Dataclass

Also written: @dataclass

A Python decorator that writes the __init__ method from a class's listed fields. Reply is a dataclass.

Where the book teaches it

Related terms

Reply