-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Turn most panics into recoverable errors (#128)
* for image embeddings, turn some panics into returned errors * turn more panics into recoverable errors * Simplify collection of image embeddings Co-authored-by: Anush <anushshetty90@gmail.com> * Pass errors in sparse text embedding and reranking batches onto the user instead of panicking * fix warnings: only import anyhow::Context if online feature enabled * cargo fmt --------- Co-authored-by: Anush <anushshetty90@gmail.com>
- Loading branch information
Showing
4 changed files
with
101 additions
and
90 deletions.
There are no files selected for viewing
This file contains 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 file contains 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 file contains 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 file contains 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