Closed jlowin closed 2 months ago
The classifier was recovering the serializable representation of the labels, rather than the actual label objects. For simple cases this didn't matter, but for Pydantic models it meant that classification yielded a dict, not a hydrated model.
The classifier was recovering the serializable representation of the labels, rather than the actual label objects. For simple cases this didn't matter, but for Pydantic models it meant that classification yielded a dict, not a hydrated model.