Replies: 1 comment
-
Since the retriever method doesn't accept the vectorFieldMode parameter, I've opted to use the vector search methods by setting up a vector store with AzureSearch. How can I verify if the argument vector_filter_mode is being included in the actual query vector_store = AzureSearch( And, also would like to understand how this is different from a simple OData filter? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to implement vectorFilterMode of Azure AI Search using AzureAISearchRetriever. However, the parameter vectorFilterMode is not accepted currently. Is there a workaround to achieve this?
Using the OData filter in the retriever will give us the top K relevant documents based on the filter condition. But the next retrieval-answer generation step takes VectorStore as input but not the top K documents.
System Info
%pip install --upgrade --quiet langchain-community
%pip install --upgrade --quiet langchain-openai
%pip install --upgrade --quiet azure-search-documents>=11.4
%pip install --upgrade --quiet azure-identity
Beta Was this translation helpful? Give feedback.
All reactions