2 ms·
> There was another post today about using Pydantic for function enabled completions That post let me know that pydantic's schema() function actually worked to
by minimaxir 3y ago
> There was another post today about using Pydantic for function enabled completions
That post let me know that pydantic's schema() function actually worked to produce a valid JSON schema, so I was able to optimize from there. (there may be a few optimizations still to be done: schema() also returns an unnecessary title field and I need to experiment if I need to remove it)