-
Notifications
You must be signed in to change notification settings - Fork 0
Better boolean #40
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
Merged
Merged
Better boolean #40
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This test reproduces the issue where two different image URLs from replicate.delivery are correctly identified as not similar when compared using AI-based image matching.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
Improved boolean and JSON handling, enhanced input generation for model fuzzing, and added tests for image output matching.
boolean()inai.pyto use a more specific system prompt and addedthinking=Truetocall().json_object()inai.pyto handle JSON outputs more robustly, including stripping code block markers.call()inai.pyto support athinkingparameter and updated model version.output_matches_prompt()inmatch_outputs.pyto better handle media description matching.normalize_suffix()inmatch_outputs.pyto standardize file extensions.make_fuzz_inputs()inpredict.pyto generate diverse inputs while respecting schema constraints.test_non_matching_images.pyto test image similarity and matching.test_output_matches_prompt.pyto include more comprehensive image prompt matching tests.test_predict.pyto test various scenarios formake_fuzz_inputs()including handling of null values and fixed inputs.make_predict_inputs()tomake_fuzz_inputs()across multiple files.predict.pyto include a new functionmake_fuzz_system_prompt()for generating system prompts for fuzzing.This description was created by
for e8b7c0d. You can customize this summary. It will automatically update as commits are pushed.