-
Notifications
You must be signed in to change notification settings - Fork 3.9k
.Net: Remove concurrent "batching" implementations in MEVD #11864
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
.Net: Remove concurrent "batching" implementations in MEVD #11864
Conversation
Add default non-concurrent implementations for Get/Delete to VectorStoreCollection Closes microsoft#11854
dotnet/src/Connectors/VectorData.Abstractions/VectorStorage/VectorStoreCollection.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Connectors/VectorData.Abstractions/VectorStorage/VectorStoreCollection.cs
Outdated
Show resolved
Hide resolved
{ | ||
Verify.NotNull(records); | ||
|
||
(records, var generatedEmbeddings) = await ProcessEmbeddingsAsync(this._model, records, cancellationToken).ConfigureAwait(false); |
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.
This is a nice improvement. The code feels much cleaner when it doesn't have these really long methods doing lots of different things.
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.
The long and complicated stuff is still there, but it's at least out of sight, yeah... I absolutely want to revisit and try to make this common across providers.
Closes #11854