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

feat(ts): sync grammar converter #48

Merged
merged 6 commits into from
Apr 25, 2024
Merged

feat(ts): sync grammar converter #48

merged 6 commits into from
Apr 25, 2024

Conversation

jhen0409
Copy link
Member

@jhen0409 jhen0409 commented Mar 25, 2024

Sync latest grammar converter changes: https://github.com/ggerganov/llama.cpp/commits/master/examples/server/public/json-schema-to-grammar.mjs

TODO

  • Support fetch
  • Expose all options in convertJsonSchemaToGrammar
  • More tests

@jhen0409 jhen0409 marked this pull request as ready for review April 25, 2024 05:39
@jhen0409 jhen0409 merged commit 7834a73 into main Apr 25, 2024
4 checks passed
@jhen0409 jhen0409 deleted the sync-grammar-converter branch April 25, 2024 05:45
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