-
Notifications
You must be signed in to change notification settings - Fork 485
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
Support min/max number of digits for numbers in JSON Schema #932
Conversation
Thank you for contributing! Would you mind adding some unit tests? |
Will do! Should I also address the fixme I mentioned here? (ValueError not being raised when string minLength and maxLength are invalid), or should we have an other behavior? (Ignore the keys and add a warning for example) |
@rlouf Added unit tests for Also one fix: first digit of integers was not counted towards the bounding. |
Thanks! Looks like you need to fix the code style. Also could you rebase the branch on |
@rlouf Should be up to date with main again (did so with the github "update to main" button , which it seems merges main into my branch instead of doing a rebase). Hope it is all good now. Can't run the pipeline manually. |
No conflicts, up to date with main and all checks are passing. Should be ready to merge unless further review is necessary @rlouf |
Yes sorry, i haven’t had the time to pull your changes and rebase them yet will do as soon as I can. Thank you for your patience! |
No worries. Just wasn't sure what the process for getting PRs merged (since it seems I can add reviewers myself etc). Thanks for the fast feedback! |
b637744
to
07af5b5
Compare
Thank you for contributing! |
…i#932) This would allow to mitigate some repetition issues that certain LLMs have. This should resolve dottxt-ai#847 Co-authored-by: Samuel Magnan <[email protected]>
…i#932) This would allow to mitigate some repetition issues that certain LLMs have. This should resolve dottxt-ai#847 Co-authored-by: Samuel Magnan <[email protected]>
…i#932) This would allow to mitigate some repetition issues that certain LLMs have. This should resolve dottxt-ai#847 Co-authored-by: Samuel Magnan <[email protected]>
This would allow to mitigate some repetition issues that certain LLMs have. This should resolve #847