-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
community[patch]: fix Azure AI search delete and improve documentation #5272
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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, just had one comment
const searchType = | ||
this.options.type ?? AzureAISearchQueryType.SimilarityHybrid; |
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.
What's the reason for this change? Technically this is "breaking" to users in the sense that the functionality will be different.
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.
Hybrid search is the default retreival mode for other vector stores that support it. We'd like to align to that pattern as hybrid proves better retrevial quality vs pure vector search.
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.
We had a discussion regarding which search mode would bring the best relevance in most scenarios as a default value, and concluded that hybrid search should be the best for most use cases.
This is technically breaking, but people relying on defaults should get slightly improved relevance without any other impact on their code.
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, left some nits.
docs/core_docs/docs/integrations/vectorstores/azure_aisearch.mdx
Outdated
Show resolved
Hide resolved
docs/core_docs/docs/integrations/vectorstores/azure_aisearch.mdx
Outdated
Show resolved
Hide resolved
docs/core_docs/docs/integrations/vectorstores/azure_aisearch.mdx
Outdated
Show resolved
Hide resolved
docs/core_docs/docs/integrations/vectorstores/azure_aisearch.mdx
Outdated
Show resolved
Hide resolved
const searchType = | ||
this.options.type ?? AzureAISearchQueryType.SimilarityHybrid; |
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.
Hybrid search is the default retreival mode for other vector stores that support it. We'd like to align to that pattern as hybrid proves better retrevial quality vs pure vector search.
@bracesproul We've answered your comment, is there anything else you need from our side? |
Nope, lgtm and will get a release asap! |
This PRs includes the following changes:
await initPromise
when doing a delete with filter, causing race conditions