Repository Details
Shared by
HelloGitHub Rating
0 ratings
Free•Apache-2.0
Claim
Discuss
Collect
Share
15.4k
Stars
No
Chinese
Python
Language
Yes
Active
184
Contributors
121
Issues
Yes
Organization
None
Latest
823
Forks
Apache-2.0
License
More

This is a Python library that constrains the output format of large language models, ensuring results conform to the specified structure during generation, rather than patching with regular expressions after generation. When called, you only need to pass in the expected type, and the same code can seamlessly switch among OpenAI, Ollama, and vLLM
Comments
Rating:
No comments yet