Pydantic 2.0 just released – An overview of the popular data validation tool (logankilpatrick.medium.com) 2 points by logankilpatrick 3y ago ↗ HN
[–] minimaxir 3y ago ↗ There is a notable difference between Pydantic's JSON Schema output and OpenAI's expected input for function calling: Pydantic outputs an extra `title` field, which although shouldn't impact ChatGPT output, it's annoying.Easiest solution is to just recursively remove the `title` field from Pydantic's output: https://stackoverflow.com/questions/58938576/remove-key-and-...
1 comment
[ 3.2 ms ] story [ 9.9 ms ] threadEasiest solution is to just recursively remove the `title` field from Pydantic's output: https://stackoverflow.com/questions/58938576/remove-key-and-...