Skip to content

Commit 26475d1

Browse files
authored
.Net: Rename PG and Sqlite nugets/namespaces (#11918)
Closes #10394
1 parent e2fe4b7 commit 26475d1

File tree

105 files changed

+166
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+166
-166
lines changed

dotnet/MEVD.slnf

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"src/Connectors/Connectors.Memory.Milvus/Connectors.Memory.Milvus.csproj",
1414
"src/Connectors/Connectors.Memory.MongoDB/Connectors.Memory.MongoDB.csproj",
1515
"src/Connectors/Connectors.Memory.Pinecone/Connectors.Memory.Pinecone.csproj",
16-
"src/Connectors/Connectors.Memory.Postgres/Connectors.Memory.Postgres.csproj",
16+
"src/Connectors/Connectors.Memory.PgVector/Connectors.Memory.PgVector.csproj",
1717
"src/Connectors/Connectors.Memory.Qdrant/Connectors.Memory.Qdrant.csproj",
1818
"src/Connectors/Connectors.Memory.Redis/Connectors.Memory.Redis.csproj",
19-
"src/Connectors/Connectors.Memory.Sqlite/Connectors.Memory.Sqlite.csproj",
19+
"src/Connectors/Connectors.Memory.SqliteVec/Connectors.Memory.SqliteVec.csproj",
2020
"src/Connectors/Connectors.Memory.SqlServer/Connectors.Memory.SqlServer.csproj",
2121
"src/Connectors/Connectors.Memory.Weaviate/Connectors.Memory.Weaviate.csproj",
2222

@@ -26,10 +26,10 @@
2626
"src/Connectors/Connectors.InMemory.UnitTests/Connectors.InMemory.UnitTests.csproj",
2727
"src/Connectors/Connectors.MongoDB.UnitTests/Connectors.MongoDB.UnitTests.csproj",
2828
"src/Connectors/Connectors.Pinecone.UnitTests/Connectors.Pinecone.UnitTests.csproj",
29-
"src/Connectors/Connectors.Postgres.UnitTests/Connectors.Postgres.UnitTests.csproj",
29+
"src/Connectors/Connectors.PgVector.UnitTests/Connectors.PgVector.UnitTests.csproj",
3030
"src/Connectors/Connectors.Qdrant.UnitTests/Connectors.Qdrant.UnitTests.csproj",
3131
"src/Connectors/Connectors.Redis.UnitTests/Connectors.Redis.UnitTests.csproj",
32-
"src/Connectors/Connectors.Sqlite.UnitTests/Connectors.Sqlite.UnitTests.csproj",
32+
"src/Connectors/Connectors.SqliteVec.UnitTests/Connectors.SqliteVec.UnitTests.csproj",
3333
"src/Connectors/Connectors.Weaviate.UnitTests/Connectors.Weaviate.UnitTests.csproj",
3434

3535
"src/VectorDataIntegrationTests/AzureAISearchIntegrationTests/AzureAISearchIntegrationTests.csproj",
@@ -38,10 +38,10 @@
3838
"src/VectorDataIntegrationTests/InMemoryIntegrationTests/InMemoryIntegrationTests.csproj",
3939
"src/VectorDataIntegrationTests/MongoDBIntegrationTests/MongoDBIntegrationTests.csproj",
4040
"src/VectorDataIntegrationTests/PineconeIntegrationTests/PineconeIntegrationTests.csproj",
41-
"src/VectorDataIntegrationTests/PostgresIntegrationTests/PostgresIntegrationTests.csproj",
41+
"src/VectorDataIntegrationTests/PgVectorIntegrationTests/PgVectorIntegrationTests.csproj",
4242
"src/VectorDataIntegrationTests/QdrantIntegrationTests/QdrantIntegrationTests.csproj",
4343
"src/VectorDataIntegrationTests/RedisIntegrationTests/RedisIntegrationTests.csproj",
44-
"src/VectorDataIntegrationTests/SqliteIntegrationTests/SqliteIntegrationTests.csproj",
44+
"src/VectorDataIntegrationTests/SqliteVecIntegrationTests/SqliteVecIntegrationTests.csproj",
4545
"src/VectorDataIntegrationTests/SqlServerIntegrationTests/SqlServerIntegrationTests.csproj",
4646
"src/VectorDataIntegrationTests/WeaviateIntegrationTests/WeaviateIntegrationTests.csproj",
4747

dotnet/SK-dotnet.sln

+6-6
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.UnitTests", "src
5454
EndProject
5555
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Qdrant", "src\Connectors\Connectors.Memory.Qdrant\Connectors.Memory.Qdrant.csproj", "{5DEBAA62-F117-496A-8778-FED3604B70E2}"
5656
EndProject
57-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Sqlite", "src\Connectors\Connectors.Memory.Sqlite\Connectors.Memory.Sqlite.csproj", "{EC004F12-2F60-4EDD-B3CD-3A504900D929}"
57+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.SqliteVec", "src\Connectors\Connectors.Memory.SqliteVec\Connectors.Memory.SqliteVec.csproj", "{EC004F12-2F60-4EDD-B3CD-3A504900D929}"
5858
EndProject
59-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Postgres", "src\Connectors\Connectors.Memory.Postgres\Connectors.Memory.Postgres.csproj", "{C9F957FA-A70F-4A6D-8F95-23FCD7F4FB87}"
59+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.PgVector", "src\Connectors\Connectors.Memory.PgVector\Connectors.Memory.PgVector.csproj", "{C9F957FA-A70F-4A6D-8F95-23FCD7F4FB87}"
6060
EndProject
6161
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Redis", "src\Connectors\Connectors.Memory.Redis\Connectors.Memory.Redis.csproj", "{3720F5ED-FB4D-485E-8A93-CDE60DEF0805}"
6262
EndProject
@@ -380,7 +380,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Process.UnitTests", "src\Ex
380380
EndProject
381381
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GettingStartedWithProcesses", "samples\GettingStartedWithProcesses\GettingStartedWithProcesses.csproj", "{C057ACDF-DDD8-496B-BAF9-1C6E4E1248D7}"
382382
EndProject
383-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Sqlite.UnitTests", "src\Connectors\Connectors.Sqlite.UnitTests\Connectors.Sqlite.UnitTests.csproj", "{0846F178-7EC3-4FE6-AC5C-7146E9FD9A3E}"
383+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.SqliteVec.UnitTests", "src\Connectors\Connectors.SqliteVec.UnitTests\Connectors.SqliteVec.UnitTests.csproj", "{0846F178-7EC3-4FE6-AC5C-7146E9FD9A3E}"
384384
EndProject
385385
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VectorData.Abstractions", "src\Connectors\VectorData.Abstractions\VectorData.Abstractions.csproj", "{CF09AE39-67BA-4FE0-A0CD-A49BED956311}"
386386
EndProject
@@ -445,13 +445,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VectorDataIntegrationTests"
445445
EndProject
446446
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RedisIntegrationTests", "src\VectorDataIntegrationTests\RedisIntegrationTests\RedisIntegrationTests.csproj", "{F7EA82A4-A626-4316-AA47-EAC3A0E85870}"
447447
EndProject
448-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PostgresIntegrationTests", "src\VectorDataIntegrationTests\PostgresIntegrationTests\PostgresIntegrationTests.csproj", "{3148FF01-38C7-4BEB-8CEC-9323EC7C593B}"
448+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PgVectorIntegrationTests", "src\VectorDataIntegrationTests\PgVectorIntegrationTests\PgVectorIntegrationTests.csproj", "{3148FF01-38C7-4BEB-8CEC-9323EC7C593B}"
449449
EndProject
450450
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InMemoryIntegrationTests", "src\VectorDataIntegrationTests\InMemoryIntegrationTests\InMemoryIntegrationTests.csproj", "{F5126690-0FD1-4777-9EDF-B3F5B7B3730B}"
451451
EndProject
452452
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CosmosNoSqlIntegrationTests", "src\VectorDataIntegrationTests\CosmosNoSqlIntegrationTests\CosmosNoSqlIntegrationTests.csproj", "{E200425C-E501-430C-8A8B-BC0088BD94DB}"
453453
EndProject
454-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqliteIntegrationTests", "src\VectorDataIntegrationTests\SqliteIntegrationTests\SqliteIntegrationTests.csproj", "{709B3933-5286-4139-8D83-8C7AA5746FAE}"
454+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqliteVecIntegrationTests", "src\VectorDataIntegrationTests\SqliteVecIntegrationTests\SqliteVecIntegrationTests.csproj", "{709B3933-5286-4139-8D83-8C7AA5746FAE}"
455455
EndProject
456456
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeaviateIntegrationTests", "src\VectorDataIntegrationTests\WeaviateIntegrationTests\WeaviateIntegrationTests.csproj", "{E3CECC65-1B00-4E3A-90B6-FC7A2C64E41F}"
457457
EndProject
@@ -467,7 +467,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugins.AI", "src\Plugins\P
467467
EndProject
468468
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugins.AI.UnitTests", "src\Plugins\Plugins.AI.UnitTests\Plugins.AI.UnitTests.csproj", "{03ACF9DD-00C9-4F2B-80F1-537E2151AF5F}"
469469
EndProject
470-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Connectors.Postgres.UnitTests", "src\Connectors\Connectors.Postgres.UnitTests\Connectors.Postgres.UnitTests.csproj", "{2A1EC0DA-AD01-4421-AADC-1DFF65C71CCC}"
470+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Connectors.PgVector.UnitTests", "src\Connectors\Connectors.PgVector.UnitTests\Connectors.PgVector.UnitTests.csproj", "{2A1EC0DA-AD01-4421-AADC-1DFF65C71CCC}"
471471
EndProject
472472
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Agents.Yaml", "src\Agents\Yaml\Agents.Yaml.csproj", "{29DF6278-06FC-4F1D-8555-D3E880AF3204}"
473473
EndProject

dotnet/samples/Concepts/Concepts.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Kusto\Connectors.Memory.Kusto.csproj" />
7272
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.MongoDB\Connectors.Memory.MongoDB.csproj" />
7373
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Pinecone\Connectors.Memory.Pinecone.csproj" />
74-
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Postgres\Connectors.Memory.Postgres.csproj" />
74+
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.PgVector\Connectors.Memory.PgVector.csproj" />
7575
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Qdrant\Connectors.Memory.Qdrant.csproj" />
7676
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Redis\Connectors.Memory.Redis.csproj" />
77-
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Sqlite\Connectors.Memory.Sqlite.csproj" />
77+
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.SqliteVec\Connectors.Memory.SqliteVec.csproj" />
7878
<ProjectReference Include="..\..\src\Connectors\Connectors.Memory.Weaviate\Connectors.Memory.Weaviate.csproj" />
7979
<ProjectReference Include="..\..\src\Connectors\Connectors.Onnx\Connectors.Onnx.csproj" />
8080
<ProjectReference Include="..\..\src\Connectors\Connectors.Ollama\Connectors.Ollama.csproj" />

dotnet/samples/Concepts/Memory/HuggingFace_TextEmbeddingCustomHttpHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text.Json;
44
using Microsoft.Extensions.VectorData;
55
using Microsoft.SemanticKernel.Connectors.HuggingFace;
6-
using Microsoft.SemanticKernel.Connectors.Sqlite;
6+
using Microsoft.SemanticKernel.Connectors.SqliteVec;
77
using Microsoft.SemanticKernel.Embeddings;
88

99
#pragma warning disable CS8602 // Dereference of a possibly null reference.

dotnet/samples/Concepts/Memory/VectorStore_VectorSearch_MultiStore_Postgres.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.Extensions.DependencyInjection;
66
using Microsoft.SemanticKernel;
77
using Microsoft.SemanticKernel.Connectors.AzureOpenAI;
8-
using Microsoft.SemanticKernel.Connectors.Postgres;
8+
using Microsoft.SemanticKernel.Connectors.PgVector;
99
using Npgsql;
1010

1111
namespace Memory;

dotnet/src/Connectors/Connectors.Memory.Postgres/Connectors.Memory.Postgres.csproj renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/Connectors.Memory.PgVector.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<!-- THIS PROPERTY GROUP MUST COME FIRST -->
5-
<AssemblyName>Microsoft.SemanticKernel.Connectors.Postgres</AssemblyName>
5+
<AssemblyName>Microsoft.SemanticKernel.Connectors.PgVector</AssemblyName>
66
<RootNamespace>$(AssemblyName)</RootNamespace>
77
<TargetFrameworks>net8.0;netstandard2.0;net462</TargetFrameworks>
88
<VersionSuffix>preview</VersionSuffix>
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup>
39-
<InternalsVisibleTo Include="SemanticKernel.Connectors.Postgres.UnitTests" />
39+
<InternalsVisibleTo Include="SemanticKernel.Connectors.PgVector.UnitTests" />
4040
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
4141
</ItemGroup>
4242

dotnet/src/Connectors/Connectors.Memory.Postgres/IPostgresVectorStoreCollectionSqlBuilder.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/IPostgresVectorStoreCollectionSqlBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using Microsoft.Extensions.VectorData.ProviderServices;
88
using Pgvector;
99

10-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
10+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1111

1212
/// <summary>
1313
/// Interface for constructing SQL commands for Postgres vector store collections.

dotnet/src/Connectors/Connectors.Memory.Postgres/IPostgresVectorStoreDbClient.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/IPostgresVectorStoreDbClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Npgsql;
1111
using Pgvector;
1212

13-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
13+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1414

1515
/// <summary>
1616
/// Internal interface for client managing postgres database operations.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresCollection.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Microsoft.Extensions.VectorData.ProviderServices;
1313
using Npgsql;
1414

15-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
15+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1616

1717
/// <summary>
1818
/// Represents a collection of vector store records in a Postgres database.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresCollectionOptions.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresCollectionOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.AI;
44
using Microsoft.Extensions.VectorData;
55

6-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
6+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
77

88
/// <summary>
99
/// Options when creating a <see cref="PostgresCollection{TKey, TRecord}"/>.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresConstants.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresConstants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.Extensions.VectorData;
66
using Microsoft.Extensions.VectorData.ProviderServices;
77

8-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
8+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
99

1010
internal static class PostgresConstants
1111
{

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresDbClient.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresDbClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Npgsql;
1313
using Pgvector;
1414

15-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
15+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1616

1717
/// <summary>
1818
/// An implementation of a client for Postgres. This class is used to managing postgres database operations.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresFilterTranslator.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresFilterTranslator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using Microsoft.Extensions.VectorData.ProviderServices;
77

8-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
8+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
99

1010
internal sealed class PostgresFilterTranslator : SqlFilterTranslator
1111
{

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresMapper.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresMapper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Microsoft.Extensions.AI;
77
using Microsoft.Extensions.VectorData.ProviderServices;
88

9-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
9+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1010

1111
/// <summary>
1212
/// A mapper class that handles the conversion between data models and storage models for Postgres vector store.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresPropertyMapping.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresPropertyMapping.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using NpgsqlTypes;
1313
using Pgvector;
1414

15-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
15+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1616

1717
internal static class PostgresPropertyMapping
1818
{

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresServiceCollectionExtensions.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresServiceCollectionExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.AI;
44
using Microsoft.Extensions.DependencyInjection;
55
using Microsoft.Extensions.VectorData;
6-
using Microsoft.SemanticKernel.Connectors.Postgres;
6+
using Microsoft.SemanticKernel.Connectors.PgVector;
77
using Npgsql;
88

99
namespace Microsoft.SemanticKernel;

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresSqlBuilder.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresSqlBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using NpgsqlTypes;
1212
using Pgvector;
1313

14-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
14+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1515

1616
/// <summary>
1717
/// Provides methods to build SQL commands for managing vector store collections in PostgreSQL.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresSqlCommandInfo.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresSqlCommandInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Diagnostics.CodeAnalysis;
55
using Npgsql;
66

7-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
7+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
88

99
/// <summary>
1010
/// Represents a SQL command for Postgres.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresUtils.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresUtils.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Npgsql;
77
using static Microsoft.Extensions.VectorData.VectorStoreErrorHandler;
88

9-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
9+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1010

1111
internal static class PostgresUtils
1212
{

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresVectorStore.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresVectorStore.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Microsoft.Extensions.VectorData;
99
using Npgsql;
1010

11-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
11+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
1212

1313
/// <summary>
1414
/// Represents a vector store implementation using PostgreSQL.

dotnet/src/Connectors/Connectors.Memory.Postgres/PostgresVectorStoreOptions.cs renamed to dotnet/src/Connectors/Connectors.Memory.PgVector/PostgresVectorStoreOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using Microsoft.Extensions.AI;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Postgres;
5+
namespace Microsoft.SemanticKernel.Connectors.PgVector;
66

77
/// <summary>
88
/// Options when creating a <see cref="PostgresVectorStore"/>.

dotnet/src/Connectors/Connectors.Memory.Sqlite/Conditions/SqliteWhereCondition.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/Conditions/SqliteWhereCondition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using System.Collections.Generic;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
internal abstract class SqliteWhereCondition(string operand, List<object> values)
88
{

dotnet/src/Connectors/Connectors.Memory.Sqlite/Conditions/SqliteWhereEqualsCondition.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/Conditions/SqliteWhereEqualsCondition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using System.Collections.Generic;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
internal sealed class SqliteWhereEqualsCondition(string operand, object value)
88
: SqliteWhereCondition(operand, [value])

dotnet/src/Connectors/Connectors.Memory.Sqlite/Conditions/SqliteWhereInCondition.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/Conditions/SqliteWhereInCondition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using System.Collections.Generic;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
internal sealed class SqliteWhereInCondition(string operand, List<object> values)
88
: SqliteWhereCondition(operand, values)

dotnet/src/Connectors/Connectors.Memory.Sqlite/Conditions/SqliteWhereMatchCondition.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/Conditions/SqliteWhereMatchCondition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using System.Collections.Generic;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
internal sealed class SqliteWhereMatchCondition(string operand, object value)
88
: SqliteWhereCondition(operand, [value])

dotnet/src/Connectors/Connectors.Memory.Sqlite/Connectors.Memory.Sqlite.csproj renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/Connectors.Memory.SqliteVec.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<!-- THIS PROPERTY GROUP MUST COME FIRST -->
5-
<AssemblyName>Microsoft.SemanticKernel.Connectors.Sqlite</AssemblyName>
5+
<AssemblyName>Microsoft.SemanticKernel.Connectors.SqliteVec</AssemblyName>
66
<RootNamespace>$(AssemblyName)</RootNamespace>
77
<TargetFrameworks>net8.0;netstandard2.0;net462</TargetFrameworks>
88
<VersionSuffix>preview</VersionSuffix>
@@ -34,7 +34,7 @@
3434
</ItemGroup>
3535

3636
<ItemGroup>
37-
<InternalsVisibleTo Include="SemanticKernel.Connectors.Sqlite.UnitTests" />
37+
<InternalsVisibleTo Include="SemanticKernel.Connectors.SqliteVec.UnitTests" />
3838
</ItemGroup>
3939

4040
</Project>

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteCollection.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using Microsoft.Extensions.VectorData;
1414
using Microsoft.Extensions.VectorData.ProviderServices;
1515

16-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
16+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
1717

1818
/// <summary>
1919
/// Service for storing and retrieving vector records, that uses SQLite as the underlying storage.

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteCollectionOptions.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteCollectionOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.AI;
44
using Microsoft.Extensions.VectorData;
55

6-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
6+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
77

88
/// <summary>
99
/// Options when creating a <see cref="SqliteCollection{TKey, TRecord}"/>.

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteColumn.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteColumn.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using System.Collections.Generic;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
/// <summary>
88
/// Representation of SQLite column.

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteCommandBuilder.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteCommandBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Microsoft.Extensions.VectorData;
1212
using Microsoft.Extensions.VectorData.ProviderServices;
1313

14-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
14+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
1515

1616
/// <summary>
1717
/// Command builder for queries in SQLite database.

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteConstants.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteConstants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Collections.Generic;
55
using Microsoft.Extensions.VectorData.ProviderServices;
66

7-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
7+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
88

99
internal static class SqliteConstants
1010
{

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteExtensions.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using Microsoft.Data.Sqlite;
44

5-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
5+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
66

77
internal static class SqliteExtensions
88
{

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteFilterTranslator.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteFilterTranslator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Linq.Expressions;
77
using Microsoft.Extensions.VectorData.ProviderServices;
88

9-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
9+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
1010

1111
internal sealed class SqliteFilterTranslator : SqlFilterTranslator
1212
{

dotnet/src/Connectors/Connectors.Memory.Sqlite/SqliteMapper.cs renamed to dotnet/src/Connectors/Connectors.Memory.SqliteVec/SqliteMapper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.Extensions.AI;
66
using Microsoft.Extensions.VectorData.ProviderServices;
77

8-
namespace Microsoft.SemanticKernel.Connectors.Sqlite;
8+
namespace Microsoft.SemanticKernel.Connectors.SqliteVec;
99

1010
/// <summary>
1111
/// Class for mapping between a dictionary and the consumer data model.

0 commit comments

Comments
 (0)