Skip to content
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: IVectorStore implementation for Azure SQL #10623

Open
wants to merge 27 commits into
base: feature-vector-data-preb1
Choose a base branch
from

Conversation

adamsitnik
Copy link
Member

@adamsitnik adamsitnik commented Feb 20, 2025

The PR is ready for review.

fixes #10416

…o sqlServerTests

# Conflicts:
#	dotnet/SK-dotnet.sln
The ToListAsync change is just a wokaround dotnet/runtime#79782 (comment)
…/VectorStoreRecordKeyAttribute.cs

Co-authored-by: westey <[email protected]>
- use abstract instead of partial class
- make Dimensions mandatory
- remove support of string collections
- map "dot" to Negative Dot
- make SqlServerVectorStoreRecordCollection public
- make AutoGenerate init rather than readonly property
- add net472 target for the test project, make it compile
- use unique collection names so multiple users can run the same tests against shared db instance
- verify that parameterless ctor is present for TRecord
- make sure that exceptions are wrapped
- add support for IVectorStoreRecordMapper
- respect IncludeVectors
- add VectorSearch tests (based on existing tests)
- fix typos
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel memory labels Feb 25, 2025
@github-actions github-actions bot changed the title IVectorStore implementation for Azure SQL .Net: IVectorStore implementation for Azure SQL Feb 25, 2025
- escape the index name (by quoting it)
- don't create index if it already exists as part of CreateCollectionIfNotExistsAsync
- don't wrap NotSupportedException with VectorStoreOperationException when the user tried to create a query that is not supported like non-supported distance function for given index)
@adamsitnik adamsitnik marked this pull request as ready for review February 26, 2025 11:17
@adamsitnik adamsitnik requested a review from a team as a code owner February 26, 2025 11:17
@adamsitnik adamsitnik requested a review from westey-m February 26, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel memory .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants