Dataclass
Also written: dataclasses, @dataclass
A Python class that just holds named fields, with `__init__` written for you by Python. It is used for simple records such as `Doc`, `Chunk` and `Answer`.
Also written: dataclasses, @dataclass
A Python class that just holds named fields, with `__init__` written for you by Python. It is used for simple records such as `Doc`, `Chunk` and `Answer`.