examples : add pydantic models to GBNF grammar generator (#4883)

* Create pydantic-models-to-grammar.py

* Added some comments for usage

* Refactored Grammar Generator

Added example and usage instruction.

* Update pydantic_models_to_grammar.py

* Update pydantic-models-to-grammar-examples.py

* Renamed module and imported it.

* Update pydantic-models-to-grammar.py

* Renamed file and fixed grammar generator issue.
This commit is contained in:
Maximilian Winter authored and GitHub committed 2024-01-12 21:46:45 +02:00
1 parent 3fe81781e3
commit 52ee4540c0
2 files changed
+1287

No files matched your search

File diff suppressed because it is too large. Load diff