4 ms·
Pydantic can serialize both instances and classes/types to json and json schema. That seems quite helpful for this use case. How are you handling serializatio
by yaj54 3y ago
Pydantic can serialize both instances and classes/types to json and json schema. That seems quite helpful for this use case. How are you handling serialization to/from the llm? Role-your-own or are there additional libraries for doing this with dataclasses?