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: Standardize error handling across vector stores #229

Open
mackurzawa opened this issue Dec 3, 2024 · 0 comments
Open

feat: Standardize error handling across vector stores #229

mackurzawa opened this issue Dec 3, 2024 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@mackurzawa
Copy link
Collaborator

Feature description

We want to ensure that all vector stores throw similar errors. Currently, different vector stores throw their own specific errors when certain methods fail. For example, the chroma vector store can throw a specific error when the remove() method is called and fails, while the qdrant vector store throws a different error for the same situation.

The task would involve mapping the errors thrown by different vector stores to a set of generic errors.

Motivation

Standardizing error handling across vector stores will simplify error management, by allowing developers to use try/except blocks on any vector store without changing the exception type depending on the implementation. Developers will be able to handle errors in a consistent manner, regardless of the vector store implementation.

Additional context

No response

@mackurzawa mackurzawa added the feature New feature or request label Dec 3, 2024
@micpst micpst added this to ragbits Dec 3, 2024
@micpst micpst moved this to Backlog in ragbits Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant