Help needed on the JSON Schema Pydantic 2.0 docs? #6372
-
Hey folks! Congrats on the 2.0 release. OpenAI uses JSON Schema for the new function calling capability in our ChatCompletions API so I would be happy to help update the JSON Schema docs to work with Pydantic 2.0. Can I get some guidance on how I should go about this? I imagine the best path would be to read the migration guide and see what needs to change (if anything?). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thats great to hear, thanks so much for letting us know. Any help with the documentation would be awesome. Hopefully contributing to documentation should be fairly self explanatory, but if you find anything confusing please let us know and we'll try to fix it or add docs about it to the contribution guide. Almost all code examples in the docs are run, tested and linted with Let us know if synchronous discussion would be easier, we can easily find a place to chat. |
Beta Was this translation helpful? Give feedback.
-
What I remember now, specifically about that page, is that the "Fields section" should reference the fields.md page. |
Beta Was this translation helpful? Give feedback.
Thats great to hear, thanks so much for letting us know.
Any help with the documentation would be awesome. Hopefully contributing to documentation should be fairly self explanatory, but if you find anything confusing please let us know and we'll try to fix it or add docs about it to the contribution guide.
Almost all code examples in the docs are run, tested and linted with
pytest tests/test_docs.py
, if you want to reformat the examples or insert the print statement output automatically runpytest tests/test_docs.py --update-examples
.Let us know if synchronous discussion would be easier, we can easily find a place to chat.