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

Different behaviours when handling filters for missing routes #497

Open
jamescalam opened this issue Jan 5, 2025 · 0 comments
Open

Different behaviours when handling filters for missing routes #497

jamescalam opened this issue Jan 5, 2025 · 0 comments
Labels
invalid This doesn't seem right

Comments

@jamescalam
Copy link
Member

Different index types handle missing routes when filtering for routes differently. LocalIndex will raise a ValueError whereas QdrantIndex and PineconeIndex raise no error. They should all behave the same. See tests/unit/test_router.py::TestSemanticRouter::test_query_filter for the logic that triggers this behaviour.

@jamescalam jamescalam added the invalid This doesn't seem right label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant