Repository navigation
.Net: Convert IVectorStore and IVectorStoreCollection from interfaces to base classes - #11860
Merged
Shay Rojansky (roji) merged 1 commit intoMay 2, 2025
Conversation
Shay Rojansky (roji)
temporarily deployed
to
integration
May 2, 2025 12:36 — with
GitHub Actions
Inactive
| #pragma warning disable CA1711 // Identifiers should not have incorrect suffix (Collection) | ||
| #pragma warning disable CS0618 // IVectorizedSearch is obsolete | ||
| public interface IVectorStoreCollection<TKey, TRecord> : IVectorSearch<TRecord>, IVectorizedSearch<TRecord> | ||
| public abstract class VectorStoreCollection<TKey, TRecord> : IVectorSearch<TRecord>, IVectorizedSearch<TRecord> |
Contributor
There was a problem hiding this comment.
Remember to update the xml docs for this type too. I see some references to interface above.
Member
Author
There was a problem hiding this comment.
Good catch, thanks.
| where TVector : notnull; | ||
|
|
||
| /// <inheritdoc /> | ||
| [Obsolete("Use either SearchEmbeddingAsync to search directly on embeddings, or SearchAsync to handle embedding generation internally as part of the call.")] |
Contributor
There was a problem hiding this comment.
Maybe not for this PR, but I suppose we can remove this now anyway, since we obsoleted it in the last release.
Member
Author
There was a problem hiding this comment.
Yeah, absolutely. This - and some other obsoleted APIs - indeed need to be removed.
westey (westey-m)
approved these changes
May 2, 2025
Shay Rojansky (roji)
force-pushed
the
AbstractBaseClasses
branch
from
May 2, 2025 12:53
5f8d83e to
823c1c5
Compare
Shay Rojansky (roji)
temporarily deployed
to
integration
May 2, 2025 12:53 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11775