From 843dc16014a1a43e001d8848f22c36c4427b5e84 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Tue, 28 Apr 2026 21:27:55 +0200 Subject: [PATCH 1/2] Add package metadata, READMEs, clean up Semantic Kernel references, bump to preview.2 - Add MIT license, authors, copyright, and repository metadata to packages - Add SourceLink and embedded debug symbols (gated on IsPackable in Directory.Build.targets) - Add NuGet package caching to MEVD workflow - Create README for each MEVD provider with link to official MEVD docs - Clean up Semantic Kernel references (csproj descriptions, test namespaces, comments, READMEs) - Fix InMemoryServiceCollectionExtensions namespace to Microsoft.Extensions.DependencyInjection - Rename sign-and-publish workflow to release - Bump all provider versions to 1.0.0-preview.2 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Directory.Build.props | 15 ++++++++++--- Directory.Build.targets | 8 +++++++ MEVD/src/AzureAISearch/AzureAISearch.csproj | 4 ++-- .../AzureAISearchDynamicMapper.cs | 2 +- MEVD/src/AzureAISearch/README.md | 17 +++++++++++++++ MEVD/src/CosmosMongoDB/CosmosMongoDB.csproj | 4 ++-- MEVD/src/CosmosMongoDB/README.md | 17 +++++++++++++++ MEVD/src/InMemory/InMemory.csproj | 4 ++-- .../InMemoryServiceCollectionExtensions.cs | 2 +- MEVD/src/InMemory/README.md | 15 +++++++++++++ MEVD/src/PgVector/PgVector.csproj | 4 ++-- MEVD/src/PgVector/README.md | 8 ++----- MEVD/src/Pinecone/Pinecone.csproj | 4 ++-- MEVD/src/Pinecone/README.md | 17 +++++++++++++++ MEVD/src/Qdrant/Qdrant.csproj | 4 ++-- MEVD/src/Qdrant/README.md | 21 +++++++++++++++++++ MEVD/src/Redis/README.md | 10 ++++++--- MEVD/src/Redis/Redis.csproj | 4 ++-- MEVD/src/Redis/RedisJsonDynamicMapper.cs | 2 +- MEVD/src/SqliteVec/README.md | 15 +++++++++++++ MEVD/src/SqliteVec/SqliteVec.csproj | 4 ++-- MEVD/src/Weaviate/README.md | 21 +++++++++++++++++++ MEVD/src/Weaviate/Weaviate.csproj | 4 ++-- ...ureAISearchCollectionCreateMappingTests.cs | 2 +- .../AzureAISearchCollectionTests.cs | 2 +- .../AzureAISearchDynamicMapperTests.cs | 2 +- .../AzureAISearchVectorStoreTests.cs | 2 +- .../CosmosMongoCollectionTests.cs | 2 +- .../CosmosMongoHotelModel.cs | 2 +- .../CosmosMongoVectorStoreTests.cs | 2 +- ...nMemoryServiceCollectionExtensionsTests.cs | 3 +-- .../InMemoryVectorStoreExtensionsTests.cs | 2 +- .../InMemoryVectorStoreTests.cs | 2 +- .../PostgresCollectionTests.cs | 2 +- .../PostgresFilterTranslatorTests.cs | 2 +- MEVD/test/PgVector.UnitTests/PostgresHotel.cs | 2 +- .../PostgresPropertyExtensionsTests.cs | 2 +- .../PostgresPropertyMappingTests.cs | 2 +- .../PostgresSqlBuilderTests.cs | 2 +- .../PineconeCollectionTests.cs | 2 +- .../Qdrant.UnitTests/QdrantMapperTests.cs | 2 +- .../RedisHashSetMapperTests.cs | 2 +- .../Redis.UnitTests/RedisJsonMapperTests.cs | 2 +- .../SqliteCollectionTests.cs | 2 +- .../SqliteCommandBuilderTests.cs | 2 +- .../SqliteConditionsTests.cs | 2 +- MEVD/test/SqliteVec.UnitTests/SqliteHotel.cs | 2 +- .../SqlitePropertyMappingTests.cs | 2 +- .../SqliteVectorStoreTests.cs | 2 +- .../WeaviateCollectionCreateMappingTests.cs | 2 +- .../WeaviateCollectionSearchMappingTests.cs | 2 +- .../WeaviateCollectionTests.cs | 2 +- .../WeaviateDynamicMapperTests.cs | 2 +- MEVD/test/Weaviate.UnitTests/WeaviateHotel.cs | 2 +- .../Weaviate.UnitTests/WeaviateMapperTests.cs | 2 +- .../WeaviateQueryBuilderTests.cs | 2 +- .../WeaviateVectorStoreTests.cs | 2 +- 57 files changed, 207 insertions(+), 68 deletions(-) create mode 100644 Directory.Build.targets create mode 100644 MEVD/src/AzureAISearch/README.md create mode 100644 MEVD/src/CosmosMongoDB/README.md create mode 100644 MEVD/src/InMemory/README.md create mode 100644 MEVD/src/Pinecone/README.md create mode 100644 MEVD/src/Qdrant/README.md create mode 100644 MEVD/src/SqliteVec/README.md create mode 100644 MEVD/src/Weaviate/README.md diff --git a/Directory.Build.props b/Directory.Build.props index 412ae66..4f0bab7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -16,9 +16,18 @@ embedded - - - + + Microsoft.Toolkit,dotnetfoundation,Community Toolkit + .NET Foundation + (c) .NET Foundation and Contributors. All rights reserved. + MIT + https://github.com/CommunityToolkit/AI + https://github.com/CommunityToolkit/AI + true + true + README.md + + diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000..cd8c264 --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/MEVD/src/AzureAISearch/AzureAISearch.csproj b/MEVD/src/AzureAISearch/AzureAISearch.csproj index 9b238b5..cb5363f 100644 --- a/MEVD/src/AzureAISearch/AzureAISearch.csproj +++ b/MEVD/src/AzureAISearch/AzureAISearch.csproj @@ -1,12 +1,12 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.AzureAISearch $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 Azure AI Search provider for Microsoft.Extensions.VectorData - Azure AI Search provider for Microsoft.Extensions.VectorData by Semantic Kernel + Azure AI Search provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/AzureAISearch/AzureAISearchDynamicMapper.cs b/MEVD/src/AzureAISearch/AzureAISearchDynamicMapper.cs index 7ecec53..30a4661 100644 --- a/MEVD/src/AzureAISearch/AzureAISearchDynamicMapper.cs +++ b/MEVD/src/AzureAISearch/AzureAISearchDynamicMapper.cs @@ -12,7 +12,7 @@ namespace CommunityToolkit.VectorData.AzureAISearch; /// -/// A mapper that maps between the generic Semantic Kernel data model and the model that the data is stored under, within Azure AI Search. +/// A mapper that maps between the generic data model and the model that the data is stored under, within Azure AI Search. /// internal sealed class AzureAISearchDynamicMapper(CollectionModel model, JsonSerializerOptions? jsonSerializerOptions) : IAzureAISearchMapper> { diff --git a/MEVD/src/AzureAISearch/README.md b/MEVD/src/AzureAISearch/README.md new file mode 100644 index 0000000..442c0ab --- /dev/null +++ b/MEVD/src/AzureAISearch/README.md @@ -0,0 +1,17 @@ +# CommunityToolkit.VectorData.AzureAISearch + +Azure AI Search provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[Azure AI Search](https://learn.microsoft.com/azure/search/search-what-is-azure-search) is a cloud search service that provides vector similarity search, full-text search, and hybrid search capabilities. + +## Quick start + +1. Create an Azure AI Search instance via the [Azure portal](https://learn.microsoft.com/azure/search/search-create-service-portal) or [Azure CLI](https://learn.microsoft.com/azure/search/search-manage-azure-cli). + +2. Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.AzureAISearch +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/CosmosMongoDB/CosmosMongoDB.csproj b/MEVD/src/CosmosMongoDB/CosmosMongoDB.csproj index 32af03c..e82cacb 100644 --- a/MEVD/src/CosmosMongoDB/CosmosMongoDB.csproj +++ b/MEVD/src/CosmosMongoDB/CosmosMongoDB.csproj @@ -1,14 +1,14 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.CosmosMongoDB $(AssemblyName) net10.0;net8.0;netstandard2.1;net472 true Azure CosmosDB MongoDB vCore provider for Microsoft.Extensions.VectorData - Azure CosmosDB MongoDB vCore provider for Microsoft.Extensions.VectorData by Semantic Kernel + Azure CosmosDB MongoDB vCore provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/CosmosMongoDB/README.md b/MEVD/src/CosmosMongoDB/README.md new file mode 100644 index 0000000..eb55bbc --- /dev/null +++ b/MEVD/src/CosmosMongoDB/README.md @@ -0,0 +1,17 @@ +# CommunityToolkit.VectorData.CosmosMongoDB + +Azure Cosmos DB for MongoDB (vCore) provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[Azure Cosmos DB for MongoDB vCore](https://learn.microsoft.com/azure/cosmos-db/mongodb/vcore/) supports native vector search, enabling AI-powered applications with vector similarity search capabilities. + +## Quick start + +1. Create an Azure Cosmos DB for MongoDB vCore instance via the [Azure portal](https://learn.microsoft.com/azure/cosmos-db/mongodb/vcore/quickstart-portal). + +2. Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.CosmosMongoDB +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/InMemory/InMemory.csproj b/MEVD/src/InMemory/InMemory.csproj index 1e70c16..3af482b 100644 --- a/MEVD/src/InMemory/InMemory.csproj +++ b/MEVD/src/InMemory/InMemory.csproj @@ -1,12 +1,12 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.InMemory $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 In-Memory provider for Microsoft.Extensions.VectorData - In-Memory provider for Microsoft.Extensions.VectorData by Semantic Kernel + In-Memory provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/InMemory/InMemoryServiceCollectionExtensions.cs b/MEVD/src/InMemory/InMemoryServiceCollectionExtensions.cs index b4413bb..72e2996 100644 --- a/MEVD/src/InMemory/InMemoryServiceCollectionExtensions.cs +++ b/MEVD/src/InMemory/InMemoryServiceCollectionExtensions.cs @@ -7,7 +7,7 @@ using Microsoft.Extensions.VectorData; using CommunityToolkit.VectorData.InMemory; -namespace Microsoft.SemanticKernel; +namespace Microsoft.Extensions.DependencyInjection; /// /// Extension methods to register Data services on an . diff --git a/MEVD/src/InMemory/README.md b/MEVD/src/InMemory/README.md new file mode 100644 index 0000000..382cf3d --- /dev/null +++ b/MEVD/src/InMemory/README.md @@ -0,0 +1,15 @@ +# CommunityToolkit.VectorData.InMemory + +In-memory provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +This provider stores vector data in memory and is useful for testing, prototyping, and scenarios where persistence is not required. + +## Quick start + +Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.InMemory +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/PgVector/PgVector.csproj b/MEVD/src/PgVector/PgVector.csproj index 4a96ffe..9c54c40 100644 --- a/MEVD/src/PgVector/PgVector.csproj +++ b/MEVD/src/PgVector/PgVector.csproj @@ -1,7 +1,7 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.PgVector $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 @@ -9,7 +9,7 @@ $(NoWarn);CS0436 Postgres provider for Microsoft.Extensions.VectorData - Postgres (with pgvector extension) provider for Microsoft.Extensions.VectorData by Semantic Kernel + Postgres (with pgvector extension) provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/PgVector/README.md b/MEVD/src/PgVector/README.md index 4d98642..aa8adec 100644 --- a/MEVD/src/PgVector/README.md +++ b/MEVD/src/PgVector/README.md @@ -1,4 +1,4 @@ -# Microsoft.SemanticKernel.Connectors.Postgres +# CommunityToolkit.VectorData.PgVector This connector uses Postgres to implement Semantic Memory. It requires the [pgvector](https://github.com/pgvector/pgvector) extension to be installed on Postgres to implement vector similarity search. @@ -33,10 +33,6 @@ sk_demo=# CREATE EXTENSION vector; > Note, "Azure Cosmos DB for PostgreSQL" uses `SELECT CREATE_EXTENSION('vector');` to enable the extension. -### Using PostgresVectorStore -See [this sample](../../../samples/Concepts/Memory/VectorStore_VectorSearch_MultiStore_Postgres.cs) for an example of using the vector store. -For more information on using Postgres as a vector store, see the [PostgresVectorStore](https://learn.microsoft.com/semantic-kernel/concepts/vector-store-connectors/out-of-the-box-connectors/postgres-connector) documentation. - -Use the [getting started instructions](https://learn.microsoft.com/semantic-kernel/concepts/vector-store-connectors/?pivots=programming-language-csharp#getting-started-with-vector-store-connectors) on the Microsoft Leearn site to learn more about using the vector store. +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Pinecone/Pinecone.csproj b/MEVD/src/Pinecone/Pinecone.csproj index 63c378d..b69c3a9 100644 --- a/MEVD/src/Pinecone/Pinecone.csproj +++ b/MEVD/src/Pinecone/Pinecone.csproj @@ -1,14 +1,14 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.Pinecone $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 true Pinecone provider for Microsoft.Extensions.VectorData - Pinecone provider for Microsoft.Extensions.VectorData by Semantic Kernel + Pinecone provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/Pinecone/README.md b/MEVD/src/Pinecone/README.md new file mode 100644 index 0000000..185d56e --- /dev/null +++ b/MEVD/src/Pinecone/README.md @@ -0,0 +1,17 @@ +# CommunityToolkit.VectorData.Pinecone + +Pinecone provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[Pinecone](https://www.pinecone.io/) is a managed vector database designed for high-performance vector similarity search at scale. + +## Quick start + +1. Create a Pinecone account and index at [pinecone.io](https://www.pinecone.io/). + +2. Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.Pinecone +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Qdrant/Qdrant.csproj b/MEVD/src/Qdrant/Qdrant.csproj index 294dae0..d591b0a 100644 --- a/MEVD/src/Qdrant/Qdrant.csproj +++ b/MEVD/src/Qdrant/Qdrant.csproj @@ -1,14 +1,14 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.Qdrant $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 true Qdrant provider for Microsoft.Extensions.VectorData - Qdrant provider for Microsoft.Extensions.VectorData by Semantic Kernel + Qdrant provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/Qdrant/README.md b/MEVD/src/Qdrant/README.md new file mode 100644 index 0000000..c4c5c9d --- /dev/null +++ b/MEVD/src/Qdrant/README.md @@ -0,0 +1,21 @@ +# CommunityToolkit.VectorData.Qdrant + +Qdrant provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[Qdrant](https://qdrant.tech/) is an open-source vector similarity search engine that provides fast and scalable vector search with filtering support. + +## Quick start + +1. Run Qdrant with Docker: + +```bash +docker run -d --name qdrant -p 6333:6333 -p 6334:6334 qdrant/qdrant +``` + +2. Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.Qdrant +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Redis/README.md b/MEVD/src/Redis/README.md index c0feab4..f867546 100644 --- a/MEVD/src/Redis/README.md +++ b/MEVD/src/Redis/README.md @@ -1,4 +1,4 @@ -# Microsoft.SemanticKernel.Connectors.Redis +# CommunityToolkit.VectorData.Redis This connector uses Redis to implement Semantic Memory. It requires the [RediSearch](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/) module to be enabled on Redis to implement vector similarity search. @@ -22,6 +22,10 @@ Ways to get RediSearch: docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest ``` -2. Create a Redis Vector Store using instructions on the [Microsoft Learn site](https://learn.microsoft.com/semantic-kernel/concepts/vector-store-connectors/out-of-the-box-connectors/redis-connector). +2. Install the NuGet package: -3. Use the [getting started instructions](https://learn.microsoft.com/semantic-kernel/concepts/vector-store-connectors/?pivots=programming-language-csharp#getting-started-with-vector-store-connectors) on the Microsoft Leearn site to learn more about using the vector store. +```bash +dotnet add package CommunityToolkit.VectorData.Redis +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Redis/Redis.csproj b/MEVD/src/Redis/Redis.csproj index ad7ff16..e69217c 100644 --- a/MEVD/src/Redis/Redis.csproj +++ b/MEVD/src/Redis/Redis.csproj @@ -1,13 +1,13 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.Redis $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 Redis provider for Microsoft.Extensions.VectorData - Redis provider for Microsoft.Extensions.VectorData by Semantic Kernel + Redis provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/Redis/RedisJsonDynamicMapper.cs b/MEVD/src/Redis/RedisJsonDynamicMapper.cs index f008e30..32a3440 100644 --- a/MEVD/src/Redis/RedisJsonDynamicMapper.cs +++ b/MEVD/src/Redis/RedisJsonDynamicMapper.cs @@ -10,7 +10,7 @@ namespace CommunityToolkit.VectorData.Redis; /// -/// A mapper that maps between the generic Semantic Kernel data model and the model that the data is stored under, within Redis when using JSON. +/// A mapper that maps between the generic data model and the model that the data is stored under, within Redis when using JSON. /// internal class RedisJsonDynamicMapper(CollectionModel model, JsonSerializerOptions jsonSerializerOptions) : IRedisJsonMapper> { diff --git a/MEVD/src/SqliteVec/README.md b/MEVD/src/SqliteVec/README.md new file mode 100644 index 0000000..b337b03 --- /dev/null +++ b/MEVD/src/SqliteVec/README.md @@ -0,0 +1,15 @@ +# CommunityToolkit.VectorData.SqliteVec + +SQLite provider (with [sqlite-vec](https://github.com/asg017/sqlite-vec) extension) for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[sqlite-vec](https://github.com/asg017/sqlite-vec) is a SQLite extension for vector search, providing efficient similarity search capabilities in a lightweight, embedded database. + +## Quick start + +Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.SqliteVec +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/SqliteVec/SqliteVec.csproj b/MEVD/src/SqliteVec/SqliteVec.csproj index 50615c6..8965f22 100644 --- a/MEVD/src/SqliteVec/SqliteVec.csproj +++ b/MEVD/src/SqliteVec/SqliteVec.csproj @@ -1,14 +1,14 @@  - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.SqliteVec $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 true SQLite provider for Microsoft.Extensions.VectorData - SQLite (sqlitevec) provider for Microsoft.Extensions.VectorData by Semantic Kernel + SQLite (sqlitevec) provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/src/Weaviate/README.md b/MEVD/src/Weaviate/README.md new file mode 100644 index 0000000..d4604eb --- /dev/null +++ b/MEVD/src/Weaviate/README.md @@ -0,0 +1,21 @@ +# CommunityToolkit.VectorData.Weaviate + +Weaviate provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. + +[Weaviate](https://weaviate.io/) is an open-source vector database that supports vector search, hybrid search, and generative search capabilities. + +## Quick start + +1. Run Weaviate with Docker: + +```bash +docker run -d --name weaviate -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitechnologies/weaviate +``` + +2. Install the NuGet package: + +```bash +dotnet add package CommunityToolkit.VectorData.Weaviate +``` + +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Weaviate/Weaviate.csproj b/MEVD/src/Weaviate/Weaviate.csproj index 1aedd80..9cc7209 100644 --- a/MEVD/src/Weaviate/Weaviate.csproj +++ b/MEVD/src/Weaviate/Weaviate.csproj @@ -2,14 +2,14 @@ - 1.0.0-preview.1 + 1.0.0-preview.2 CommunityToolkit.VectorData.Weaviate $(AssemblyName) net10.0;net8.0;netstandard2.0;net462 Weaviate provider for Microsoft.Extensions.VectorData - Weaviate provider for Microsoft.Extensions.VectorData by Semantic Kernel + Weaviate provider for Microsoft.Extensions.VectorData by the .NET Community Toolkit diff --git a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionCreateMappingTests.cs b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionCreateMappingTests.cs index 4479549..e6666d6 100644 --- a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionCreateMappingTests.cs +++ b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionCreateMappingTests.cs @@ -9,7 +9,7 @@ using CommunityToolkit.VectorData.AzureAISearch; using Xunit; -namespace SemanticKernel.Connectors.AzureAISearch.UnitTests; +namespace AzureAISearch.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionTests.cs b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionTests.cs index 5994f3e..aa21a58 100644 --- a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionTests.cs +++ b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchCollectionTests.cs @@ -19,7 +19,7 @@ using Moq; using Xunit; -namespace SemanticKernel.Connectors.AzureAISearch.UnitTests; +namespace AzureAISearch.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchDynamicMapperTests.cs b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchDynamicMapperTests.cs index e01983e..54da8ab 100644 --- a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchDynamicMapperTests.cs +++ b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchDynamicMapperTests.cs @@ -10,7 +10,7 @@ using CommunityToolkit.VectorData.AzureAISearch; using Xunit; -namespace SemanticKernel.Connectors.AzureAISearch.UnitTests; +namespace AzureAISearch.UnitTests; /// /// Tests for the class. diff --git a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchVectorStoreTests.cs b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchVectorStoreTests.cs index 686ec22..e497d6d 100644 --- a/MEVD/test/AzureAISearch.UnitTests/AzureAISearchVectorStoreTests.cs +++ b/MEVD/test/AzureAISearch.UnitTests/AzureAISearchVectorStoreTests.cs @@ -14,7 +14,7 @@ using Moq; using Xunit; -namespace SemanticKernel.Connectors.AzureAISearch.UnitTests; +namespace AzureAISearch.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoCollectionTests.cs b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoCollectionTests.cs index c0c832f..80d12cf 100644 --- a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoCollectionTests.cs +++ b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoCollectionTests.cs @@ -17,7 +17,7 @@ using Xunit; using MEVD = Microsoft.Extensions.VectorData; -namespace SemanticKernel.Connectors.CosmosMongoDB.UnitTests; +namespace CosmosMongoDB.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoHotelModel.cs b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoHotelModel.cs index 1a82f74..60e18f4 100644 --- a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoHotelModel.cs +++ b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoHotelModel.cs @@ -6,7 +6,7 @@ using Microsoft.Extensions.VectorData; using MongoDB.Bson.Serialization.Attributes; -namespace SemanticKernel.Connectors.CosmosMongoDB.UnitTests; +namespace CosmosMongoDB.UnitTests; public class CosmosMongoHotelModel(string hotelId) { diff --git a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoVectorStoreTests.cs b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoVectorStoreTests.cs index f35a9c0..a6d8ce0 100644 --- a/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoVectorStoreTests.cs +++ b/MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoVectorStoreTests.cs @@ -11,7 +11,7 @@ using Moq; using Xunit; -namespace SemanticKernel.Connectors.CosmosMongoDB.UnitTests; +namespace CosmosMongoDB.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/InMemory.UnitTests/InMemoryServiceCollectionExtensionsTests.cs b/MEVD/test/InMemory.UnitTests/InMemoryServiceCollectionExtensionsTests.cs index d494669..03c048d 100644 --- a/MEVD/test/InMemory.UnitTests/InMemoryServiceCollectionExtensionsTests.cs +++ b/MEVD/test/InMemory.UnitTests/InMemoryServiceCollectionExtensionsTests.cs @@ -4,11 +4,10 @@ using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.VectorData; -using Microsoft.SemanticKernel; using CommunityToolkit.VectorData.InMemory; using Xunit; -namespace SemanticKernel.Connectors.InMemory.UnitTests; +namespace InMemory.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreExtensionsTests.cs b/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreExtensionsTests.cs index 15d6543..e78ff3f 100644 --- a/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreExtensionsTests.cs +++ b/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreExtensionsTests.cs @@ -12,7 +12,7 @@ using CommunityToolkit.VectorData.InMemory; using Xunit; -namespace SemanticKernel.Connectors.InMemory.UnitTests; +namespace InMemory.UnitTests; public class InMemoryVectorStoreExtensionsTests { diff --git a/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreTests.cs b/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreTests.cs index 340f583..91a4d79 100644 --- a/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreTests.cs +++ b/MEVD/test/InMemory.UnitTests/InMemoryVectorStoreTests.cs @@ -7,7 +7,7 @@ using CommunityToolkit.VectorData.InMemory; using Xunit; -namespace SemanticKernel.Connectors.InMemory.UnitTests; +namespace InMemory.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/PgVector.UnitTests/PostgresCollectionTests.cs b/MEVD/test/PgVector.UnitTests/PostgresCollectionTests.cs index da69527..b67454f 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresCollectionTests.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresCollectionTests.cs @@ -6,7 +6,7 @@ using CommunityToolkit.VectorData.PgVector; using Xunit; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; public class PostgresCollectionTests { diff --git a/MEVD/test/PgVector.UnitTests/PostgresFilterTranslatorTests.cs b/MEVD/test/PgVector.UnitTests/PostgresFilterTranslatorTests.cs index c947838..f2a994e 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresFilterTranslatorTests.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresFilterTranslatorTests.cs @@ -9,7 +9,7 @@ using CommunityToolkit.VectorData.PgVector; using Xunit; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; public sealed class PostgresFilterTranslatorTests { diff --git a/MEVD/test/PgVector.UnitTests/PostgresHotel.cs b/MEVD/test/PgVector.UnitTests/PostgresHotel.cs index 5be93b9..10d45bd 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresHotel.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresHotel.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using Microsoft.Extensions.VectorData; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. diff --git a/MEVD/test/PgVector.UnitTests/PostgresPropertyExtensionsTests.cs b/MEVD/test/PgVector.UnitTests/PostgresPropertyExtensionsTests.cs index c02569d..62899c2 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresPropertyExtensionsTests.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresPropertyExtensionsTests.cs @@ -6,7 +6,7 @@ using CommunityToolkit.VectorData.PgVector; using Xunit; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; public sealed class PostgresPropertyExtensionsTests { diff --git a/MEVD/test/PgVector.UnitTests/PostgresPropertyMappingTests.cs b/MEVD/test/PgVector.UnitTests/PostgresPropertyMappingTests.cs index a828daf..356e5a5 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresPropertyMappingTests.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresPropertyMappingTests.cs @@ -10,7 +10,7 @@ using Pgvector; using Xunit; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/PgVector.UnitTests/PostgresSqlBuilderTests.cs b/MEVD/test/PgVector.UnitTests/PostgresSqlBuilderTests.cs index e23429c..8de358e 100644 --- a/MEVD/test/PgVector.UnitTests/PostgresSqlBuilderTests.cs +++ b/MEVD/test/PgVector.UnitTests/PostgresSqlBuilderTests.cs @@ -11,7 +11,7 @@ using Xunit; using Xunit.Abstractions; -namespace SemanticKernel.Connectors.PgVector.UnitTests; +namespace PgVector.UnitTests; public class PostgresSqlBuilderTests { diff --git a/MEVD/test/Pinecone.UnitTests/PineconeCollectionTests.cs b/MEVD/test/Pinecone.UnitTests/PineconeCollectionTests.cs index b7ed6e4..011551c 100644 --- a/MEVD/test/Pinecone.UnitTests/PineconeCollectionTests.cs +++ b/MEVD/test/Pinecone.UnitTests/PineconeCollectionTests.cs @@ -7,7 +7,7 @@ using Pinecone; using Xunit; -namespace SemanticKernel.Connectors.Pinecone.UnitTests; +namespace Pinecone.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/Qdrant.UnitTests/QdrantMapperTests.cs b/MEVD/test/Qdrant.UnitTests/QdrantMapperTests.cs index 234b64e..351fb93 100644 --- a/MEVD/test/Qdrant.UnitTests/QdrantMapperTests.cs +++ b/MEVD/test/Qdrant.UnitTests/QdrantMapperTests.cs @@ -10,7 +10,7 @@ using Qdrant.Client.Grpc; using Xunit; -namespace SemanticKernel.Connectors.Qdrant.UnitTests; +namespace Qdrant.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/Redis.UnitTests/RedisHashSetMapperTests.cs b/MEVD/test/Redis.UnitTests/RedisHashSetMapperTests.cs index d9db5c5..e867948 100644 --- a/MEVD/test/Redis.UnitTests/RedisHashSetMapperTests.cs +++ b/MEVD/test/Redis.UnitTests/RedisHashSetMapperTests.cs @@ -8,7 +8,7 @@ using CommunityToolkit.VectorData.Redis.UnitTests; using Xunit; -namespace SemanticKernel.Connectors.Redis.UnitTests; +namespace Redis.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/Redis.UnitTests/RedisJsonMapperTests.cs b/MEVD/test/Redis.UnitTests/RedisJsonMapperTests.cs index 41cd72b..64fa844 100644 --- a/MEVD/test/Redis.UnitTests/RedisJsonMapperTests.cs +++ b/MEVD/test/Redis.UnitTests/RedisJsonMapperTests.cs @@ -9,7 +9,7 @@ using CommunityToolkit.VectorData.Redis; using Xunit; -namespace SemanticKernel.Connectors.Redis.UnitTests; +namespace Redis.UnitTests; /// /// Contains tests for the class. diff --git a/MEVD/test/SqliteVec.UnitTests/SqliteCollectionTests.cs b/MEVD/test/SqliteVec.UnitTests/SqliteCollectionTests.cs index 8c96522..b8cb509 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqliteCollectionTests.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqliteCollectionTests.cs @@ -16,7 +16,7 @@ using Moq; using Xunit; -namespace SemanticKernel.Connectors.Sqlite.UnitTests; +namespace SqliteVec.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/SqliteVec.UnitTests/SqliteCommandBuilderTests.cs b/MEVD/test/SqliteVec.UnitTests/SqliteCommandBuilderTests.cs index 2d7943f..93044ca 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqliteCommandBuilderTests.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqliteCommandBuilderTests.cs @@ -9,7 +9,7 @@ using CommunityToolkit.VectorData.SqliteVec; using Xunit; -namespace SemanticKernel.Connectors.SqliteVec.UnitTests; +namespace SqliteVec.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/SqliteVec.UnitTests/SqliteConditionsTests.cs b/MEVD/test/SqliteVec.UnitTests/SqliteConditionsTests.cs index 35ec8b1..0e74db1 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqliteConditionsTests.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqliteConditionsTests.cs @@ -5,7 +5,7 @@ using CommunityToolkit.VectorData.SqliteVec; using Xunit; -namespace SemanticKernel.Connectors.SqliteVec.UnitTests; +namespace SqliteVec.UnitTests; /// /// Unit tests for SQLite condition classes. diff --git a/MEVD/test/SqliteVec.UnitTests/SqliteHotel.cs b/MEVD/test/SqliteVec.UnitTests/SqliteHotel.cs index 619dd6c..38db709 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqliteHotel.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqliteHotel.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.VectorData; -namespace SemanticKernel.Connectors.SqliteVec.UnitTests; +namespace SqliteVec.UnitTests; public class SqliteHotel() { diff --git a/MEVD/test/SqliteVec.UnitTests/SqlitePropertyMappingTests.cs b/MEVD/test/SqliteVec.UnitTests/SqlitePropertyMappingTests.cs index 810a487..9c10b4e 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqlitePropertyMappingTests.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqlitePropertyMappingTests.cs @@ -8,7 +8,7 @@ using CommunityToolkit.VectorData.SqliteVec; using Xunit; -namespace SemanticKernel.Connectors.SqliteVec.UnitTests; +namespace SqliteVec.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/SqliteVec.UnitTests/SqliteVectorStoreTests.cs b/MEVD/test/SqliteVec.UnitTests/SqliteVectorStoreTests.cs index 6966d98..a8a4323 100644 --- a/MEVD/test/SqliteVec.UnitTests/SqliteVectorStoreTests.cs +++ b/MEVD/test/SqliteVec.UnitTests/SqliteVectorStoreTests.cs @@ -16,7 +16,7 @@ using Moq; using Xunit; -namespace SemanticKernel.Connectors.Sqlite.UnitTests; +namespace SqliteVec.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionCreateMappingTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionCreateMappingTests.cs index 420c66c..34c3653 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionCreateMappingTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionCreateMappingTests.cs @@ -8,7 +8,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionSearchMappingTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionSearchMappingTests.cs index a44cd9d..151fdcc 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionSearchMappingTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionSearchMappingTests.cs @@ -7,7 +7,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionTests.cs index 94d97d1..3d87c99 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateCollectionTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateCollectionTests.cs @@ -13,7 +13,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateDynamicMapperTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateDynamicMapperTests.cs index 12a2174..a613387 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateDynamicMapperTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateDynamicMapperTests.cs @@ -12,7 +12,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for dynamic mapping. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateHotel.cs b/MEVD/test/Weaviate.UnitTests/WeaviateHotel.cs index c367cdc..19ac75c 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateHotel.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateHotel.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using Microsoft.Extensions.VectorData; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; #pragma warning disable CS8618 diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateMapperTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateMapperTests.cs index d3707d0..620c9c3 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateMapperTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateMapperTests.cs @@ -11,7 +11,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateQueryBuilderTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateQueryBuilderTests.cs index dd04e40..aad949f 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateQueryBuilderTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateQueryBuilderTests.cs @@ -9,7 +9,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. diff --git a/MEVD/test/Weaviate.UnitTests/WeaviateVectorStoreTests.cs b/MEVD/test/Weaviate.UnitTests/WeaviateVectorStoreTests.cs index ea250dd..19157ee 100644 --- a/MEVD/test/Weaviate.UnitTests/WeaviateVectorStoreTests.cs +++ b/MEVD/test/Weaviate.UnitTests/WeaviateVectorStoreTests.cs @@ -11,7 +11,7 @@ using CommunityToolkit.VectorData.Weaviate; using Xunit; -namespace SemanticKernel.Connectors.Weaviate.UnitTests; +namespace Weaviate.UnitTests; /// /// Unit tests for class. From 8a9823155a6bd9e32516e2d3d5a00f2ea4d60ca2 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Fri, 1 May 2026 00:36:20 -0700 Subject: [PATCH 2/2] Address PR feedback for #4 (#7) * Remove en-us locale from documentation links * Capture known issues to revise code comments --- MEVD/src/AzureAISearch/AzureAISearchCollection.cs | 2 +- MEVD/src/AzureAISearch/AzureAISearchModelBuilder.cs | 2 +- MEVD/src/AzureAISearch/README.md | 4 ++-- .../src/CosmosMongoDB/CosmosMongoCollectionCreateMapping.cs | 4 ++-- MEVD/src/CosmosMongoDB/MongoShared/README.md | 2 +- MEVD/src/CosmosMongoDB/README.md | 4 ++-- MEVD/src/InMemory/README.md | 4 ++-- MEVD/src/PgVector/README.md | 6 +++--- MEVD/src/Pinecone/README.md | 4 ++-- MEVD/src/Qdrant/README.md | 4 ++-- MEVD/src/Redis/README.md | 4 ++-- MEVD/src/SqliteVec/README.md | 4 ++-- MEVD/src/Weaviate/README.md | 4 ++-- .../AzureAISearchAllSupportedTypesTests.cs | 2 +- .../CosmosMongoDistanceFunctionTests.cs | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/MEVD/src/AzureAISearch/AzureAISearchCollection.cs b/MEVD/src/AzureAISearch/AzureAISearchCollection.cs index 8e42c09..e063aea 100644 --- a/MEVD/src/AzureAISearch/AzureAISearchCollection.cs +++ b/MEVD/src/AzureAISearch/AzureAISearchCollection.cs @@ -404,7 +404,7 @@ floatVector is null { // Azure AI Search threshold filtering is in preview: // https://learn.microsoft.com/azure/search/vector-search-how-to-query#set-thresholds-to-exclude-low-scoring-results-preview - // See https://github.com/microsoft/semantic-kernel/issues/13500. + // See https://github.com/CommunityToolkit/AI/issues/5. // For now, perform post-filtering on the client-side. if (options.ScoreThreshold.HasValue && record.Score < options.ScoreThreshold.Value) { diff --git a/MEVD/src/AzureAISearch/AzureAISearchModelBuilder.cs b/MEVD/src/AzureAISearch/AzureAISearchModelBuilder.cs index 5723764..f7ccc67 100644 --- a/MEVD/src/AzureAISearch/AzureAISearchModelBuilder.cs +++ b/MEVD/src/AzureAISearch/AzureAISearchModelBuilder.cs @@ -73,7 +73,7 @@ internal static bool IsVectorPropertyTypeValidCore(Type type, [NotNullWhen(false { // Azure AI Search is adding support for more types than just float32, but these are not available for use via the // SDK yet. We will update this list as the SDK is updated. - // + // supportedTypes = SupportedVectorTypes; return type == typeof(ReadOnlyMemory) diff --git a/MEVD/src/AzureAISearch/README.md b/MEVD/src/AzureAISearch/README.md index 442c0ab..44f048a 100644 --- a/MEVD/src/AzureAISearch/README.md +++ b/MEVD/src/AzureAISearch/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.AzureAISearch -Azure AI Search provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +Azure AI Search provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [Azure AI Search](https://learn.microsoft.com/azure/search/search-what-is-azure-search) is a cloud search service that provides vector similarity search, full-text search, and hybrid search capabilities. @@ -14,4 +14,4 @@ Azure AI Search provider for [Microsoft.Extensions.VectorData](https://learn.mic dotnet add package CommunityToolkit.VectorData.AzureAISearch ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/CosmosMongoDB/CosmosMongoCollectionCreateMapping.cs b/MEVD/src/CosmosMongoDB/CosmosMongoCollectionCreateMapping.cs index 8b3635c..3a7a814 100644 --- a/MEVD/src/CosmosMongoDB/CosmosMongoCollectionCreateMapping.cs +++ b/MEVD/src/CosmosMongoDB/CosmosMongoCollectionCreateMapping.cs @@ -104,7 +104,7 @@ public static BsonArray GetFilterableDataIndexes( } /// - /// More information about Azure CosmosDB for MongoDB index kinds here: . + /// More information about Azure CosmosDB for MongoDB index kinds here: . /// private static string GetIndexKind(string? indexKind, string vectorPropertyName) => CosmosMongoCollectionSearchMapping.GetVectorPropertyIndexKind(indexKind) switch @@ -115,7 +115,7 @@ private static string GetIndexKind(string? indexKind, string vectorPropertyName) }; /// - /// More information about Azure CosmosDB for MongoDB distance functions here: . + /// More information about Azure CosmosDB for MongoDB distance functions here: . /// private static string GetDistanceFunction(string? distanceFunction, string vectorPropertyName) => CosmosMongoCollectionSearchMapping.GetVectorPropertyDistanceFunction(distanceFunction) switch diff --git a/MEVD/src/CosmosMongoDB/MongoShared/README.md b/MEVD/src/CosmosMongoDB/MongoShared/README.md index 60c2992..1af63ff 100644 --- a/MEVD/src/CosmosMongoDB/MongoShared/README.md +++ b/MEVD/src/CosmosMongoDB/MongoShared/README.md @@ -1,5 +1,5 @@ # MongoShared -These files are shared utilities that are identical across the Cosmos MongoDB and the regular MongoDB vector store providers. They were originally shared via linked compilation in the Semantic Kernel repository. +These files are shared utilities that are identical across the Cosmos MongoDB and the regular MongoDB vector store providers. If a regular MongoDB provider is added in the future, these files should be extracted to a shared location and linked into both projects. diff --git a/MEVD/src/CosmosMongoDB/README.md b/MEVD/src/CosmosMongoDB/README.md index eb55bbc..f12f29e 100644 --- a/MEVD/src/CosmosMongoDB/README.md +++ b/MEVD/src/CosmosMongoDB/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.CosmosMongoDB -Azure Cosmos DB for MongoDB (vCore) provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +Azure Cosmos DB for MongoDB (vCore) provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [Azure Cosmos DB for MongoDB vCore](https://learn.microsoft.com/azure/cosmos-db/mongodb/vcore/) supports native vector search, enabling AI-powered applications with vector similarity search capabilities. @@ -14,4 +14,4 @@ Azure Cosmos DB for MongoDB (vCore) provider for [Microsoft.Extensions.VectorDat dotnet add package CommunityToolkit.VectorData.CosmosMongoDB ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/InMemory/README.md b/MEVD/src/InMemory/README.md index 382cf3d..eca6efa 100644 --- a/MEVD/src/InMemory/README.md +++ b/MEVD/src/InMemory/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.InMemory -In-memory provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +In-memory provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. This provider stores vector data in memory and is useful for testing, prototyping, and scenarios where persistence is not required. @@ -12,4 +12,4 @@ Install the NuGet package: dotnet add package CommunityToolkit.VectorData.InMemory ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/PgVector/README.md b/MEVD/src/PgVector/README.md index aa8adec..d63cc01 100644 --- a/MEVD/src/PgVector/README.md +++ b/MEVD/src/PgVector/README.md @@ -10,8 +10,8 @@ How to install the pgvector extension, please refer to its [documentation](https This extension is also available for **Azure Database for PostgreSQL - Flexible Server** and **Azure Cosmos DB for PostgreSQL**. -- [Azure Database for Postgres](https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-use-pgvector) -- [Azure Cosmos DB for PostgreSQL](https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/howto-use-pgvector) +- [Azure Database for Postgres](https://learn.microsoft.com/azure/postgresql/flexible-server/how-to-use-pgvector) +- [Azure Cosmos DB for PostgreSQL](https://learn.microsoft.com/azure/cosmos-db/postgresql/howto-use-pgvector) ## Quick start @@ -35,4 +35,4 @@ sk_demo=# CREATE EXTENSION vector; -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Pinecone/README.md b/MEVD/src/Pinecone/README.md index 185d56e..74d63c0 100644 --- a/MEVD/src/Pinecone/README.md +++ b/MEVD/src/Pinecone/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.Pinecone -Pinecone provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +Pinecone provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [Pinecone](https://www.pinecone.io/) is a managed vector database designed for high-performance vector similarity search at scale. @@ -14,4 +14,4 @@ Pinecone provider for [Microsoft.Extensions.VectorData](https://learn.microsoft. dotnet add package CommunityToolkit.VectorData.Pinecone ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Qdrant/README.md b/MEVD/src/Qdrant/README.md index c4c5c9d..bd1b5b0 100644 --- a/MEVD/src/Qdrant/README.md +++ b/MEVD/src/Qdrant/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.Qdrant -Qdrant provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +Qdrant provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [Qdrant](https://qdrant.tech/) is an open-source vector similarity search engine that provides fast and scalable vector search with filtering support. @@ -18,4 +18,4 @@ docker run -d --name qdrant -p 6333:6333 -p 6334:6334 qdrant/qdrant dotnet add package CommunityToolkit.VectorData.Qdrant ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Redis/README.md b/MEVD/src/Redis/README.md index f867546..3ee9ec0 100644 --- a/MEVD/src/Redis/README.md +++ b/MEVD/src/Redis/README.md @@ -12,7 +12,7 @@ Ways to get RediSearch: 1. Set up the RediSearch on your self-managed Redis, please refer to its [documentation](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/). -1. Use the [Redis Enterprise](https://redis.io/docs/latest/operate/rs/), see [Azure Marketplace](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/garantiadata.redis_enterprise_1sp_public_preview?tab=Overview), [AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-e6y7ork67pjwg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa), or [Google Marketplace](https://console.cloud.google.com/marketplace/details/redislabs-public/redis-enterprise?pli=1). +1. Use the [Redis Enterprise](https://redis.io/docs/latest/operate/rs/), see [Azure Marketplace](https://azuremarketplace.microsoft.com/marketplace/apps/garantiadata.redis_enterprise_1sp_public_preview?tab=Overview), [AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-e6y7ork67pjwg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa), or [Google Marketplace](https://console.cloud.google.com/marketplace/details/redislabs-public/redis-enterprise?pli=1). ## Quick start @@ -28,4 +28,4 @@ docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:la dotnet add package CommunityToolkit.VectorData.Redis ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/SqliteVec/README.md b/MEVD/src/SqliteVec/README.md index b337b03..acf9cb7 100644 --- a/MEVD/src/SqliteVec/README.md +++ b/MEVD/src/SqliteVec/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.SqliteVec -SQLite provider (with [sqlite-vec](https://github.com/asg017/sqlite-vec) extension) for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +SQLite provider (with [sqlite-vec](https://github.com/asg017/sqlite-vec) extension) for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [sqlite-vec](https://github.com/asg017/sqlite-vec) is a SQLite extension for vector search, providing efficient similarity search capabilities in a lightweight, embedded database. @@ -12,4 +12,4 @@ Install the NuGet package: dotnet add package CommunityToolkit.VectorData.SqliteVec ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/src/Weaviate/README.md b/MEVD/src/Weaviate/README.md index d4604eb..ea8e459 100644 --- a/MEVD/src/Weaviate/README.md +++ b/MEVD/src/Weaviate/README.md @@ -1,6 +1,6 @@ # CommunityToolkit.VectorData.Weaviate -Weaviate provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. +Weaviate provider for [Microsoft.Extensions.VectorData](https://learn.microsoft.com/dotnet/ai/vector-stores/overview), by the .NET Community Toolkit. [Weaviate](https://weaviate.io/) is an open-source vector database that supports vector search, hybrid search, and generative search capabilities. @@ -18,4 +18,4 @@ docker run -d --name weaviate -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitec dotnet add package CommunityToolkit.VectorData.Weaviate ``` -For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/en-us/dotnet/ai/vector-stores/overview). +For more information, see the [Microsoft.Extensions.VectorData documentation](https://learn.microsoft.com/dotnet/ai/vector-stores/overview). diff --git a/MEVD/test/AzureAISearch.ConformanceTests/AzureAISearchAllSupportedTypesTests.cs b/MEVD/test/AzureAISearch.ConformanceTests/AzureAISearchAllSupportedTypesTests.cs index 24eb44f..98ffa57 100644 --- a/MEVD/test/AzureAISearch.ConformanceTests/AzureAISearchAllSupportedTypesTests.cs +++ b/MEVD/test/AzureAISearch.ConformanceTests/AzureAISearchAllSupportedTypesTests.cs @@ -66,7 +66,7 @@ public async Task AllTypesBatchGetAsync() DoubleProperty = 43.75, NullableDoubleProperty = null, Embedding = ReadOnlyMemory.Empty, - // From https://learn.microsoft.com/en-us/rest/api/searchservice/supported-data-types: + // From https://learn.microsoft.com/rest/api/searchservice/supported-data-types: // "All of the above types are nullable, except for collections of primitive and complex types, for example, Collection(Edm.String)" // So for collections, we can't use nulls. StringArray = [], diff --git a/MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDistanceFunctionTests.cs b/MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDistanceFunctionTests.cs index f728cb8..7b1cf5a 100644 --- a/MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDistanceFunctionTests.cs +++ b/MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDistanceFunctionTests.cs @@ -19,7 +19,7 @@ public class CosmosMongoDistanceFunctionTests(CosmosMongoDistanceFunctionTests.F public override Task ManhattanDistance() => Assert.ThrowsAsync(base.ManhattanDistance); // CosmosMongo EuclideanDistance doesn't correctly filter by score threshold (returns all results). - // This is a pre-existing bug also present in the Semantic Kernel repo. + // See https://github.com/CommunityToolkit/AI/issues/6. protected override Task TestScoreThreshold(VectorStoreCollection.SearchRecord> collection) => Task.CompletedTask;