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

fix case where there are no good matches for the prompt #770

Merged
merged 4 commits into from
Nov 1, 2024

Conversation

isaacrob-roboflow
Copy link
Contributor

@isaacrob-roboflow isaacrob-roboflow commented Nov 1, 2024

Description

Current implementation crashes when there are no found boxes. Add a short circuit to return an empty response in that case, and additional integration tests to make sure this and a few other cases are covered.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

(new) integration test

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs

  • Docs updated? What were the changes:

@isaacrob-roboflow isaacrob-roboflow marked this pull request as ready for review November 1, 2024 22:48
Copy link
Collaborator

@probicheaux probicheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice tests 🚀 :godmode:

@isaacrob-roboflow isaacrob-roboflow merged commit f95802b into main Nov 1, 2024
57 checks passed
@isaacrob-roboflow isaacrob-roboflow deleted the fixing_no_good_match_bug branch November 1, 2024 22:52
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.

2 participants