-
Notifications
You must be signed in to change notification settings - Fork 16
Support passing arbitrary kwargs through VectorSearchRetrieverTool #105
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
Conversation
@@ -304,24 +304,6 @@ def test_similarity_search_hybrid(index_name: str) -> None: | |||
assert all(["id" in d.metadata for d in search_result]) | |||
|
|||
|
|||
def test_similarity_search_both_filter_and_filters_passed() -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleting this test since now we are passing kwargs
through, so both filter
and filters
would show up. We are instead trusting that the arguments passed through are meaningful and correct.
Signed-off-by: Ann Zhang <ann.zhang@databricks.com>
Signed-off-by: Ann Zhang <ann.zhang@databricks.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the tests. Had a quick question
Description of Changes
How is this tested?
OpenAI:

LlamaIndex:

Langchain:
