Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JSON schema based on llama.cpp example #37

Merged
merged 3 commits into from
Apr 10, 2024
Merged

Conversation

a10y
Copy link
Contributor

@a10y a10y commented Apr 10, 2024

Addresses #31

Also drive-by: add support for negative numbers

@a10y
Copy link
Contributor Author

a10y commented Apr 10, 2024

@ExtReMLapin I based this off of your recent updates to https://github.com/ggerganov/llama.cpp/blame/master/grammars/json.gbnf

Merging as the generate schema seems roughly identical to the one from llama.cpp, save for some parens

@a10y a10y merged commit 0ef1dd7 into main Apr 10, 2024
3 checks passed
@a10y a10y deleted the aduffy/control-chars branch April 10, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant