Skip to content

Commit 1e72692

Browse files
Memory Refactor: Simplify Memory Interfaces, Remove Unnecessary Generics, Move Vector Stores to Connectors (#308)
### Motivation and Context Existing memory interfaces are overly complicated, leading to confusion about how to implement a custom Memory Store. This PR condenses `IMemoryStore` + `IEmbeddingIndex` + `IDataStore `-> **`IMemoryStore`** and eliminates the use of generics spread by the Embedding struct. It makes the codebase much easier to read and IMemoryStore easier to implement. As part of the effort, SqliteMemoryStore was properly implemented (it was not previously). Additionally, this PR moves the MemoryStore 'skills' to the connectors namespace. Addresses several points called out in #202 ### Description - `QdrantMemoryStore` was moved from Skills to Connectors. Unit tests were added for the memory store object. Created an IQdrantVectorDbClient interface to better enable testing of the memory store through mocks. - Modified QdrantVectorDbClient calls to default batched calls to reduced the amount of HTTP traffic when possible. `GetVectorById -> GetVectorsById`, `UpsertVector -> UpsertVectors`, `DeleteVector -> DeleteVectors`. - Generally, for a vector store, the unique id passed by the user to associate with a saved memory will become the indexed ID for the vector store as well. However, Qdrant enforces a user-provided GUID or hex string as the index key. Added a nullable key field to `MemoryRecord` to support vector storage services that act similarly. Depending on the backing storage, this key is not necessary to pass to subsequent calls. `SemanticTextMemory` does not utilized this parameter. For now, this is only for direct interaction with the `QdrantMemoryStore`. **Note**: It is understood that Qdrant will be enabling service-side GUID generation in the near future, significantly reducing the stress on the client to produce unique values for every data entry. - Eliminated the dependency on the core kernel in the connectors by replacing `Embeddings` struct references with `IEnumerable<float>`. - `SqliteMemoryStore` was moved from Skills to Connectors. `SqliteMemoryStore` now properly implements `IMemoryStore` and the unit tests were updated to reflect this fact. - The generic `TEmbedding` was removed from all Kernel and Connector files. **If a memory store expects a non-FP32 vector, it is currently up to the `IMemoryStore` implementation to perform the necessary conversions.** - `DataEntry` is now a base class that enforces nullable Key and Timestamp fields. It is not strictly used for anything other than MemoryRecord. It may serve useful for connecting to data stores that are for structures other than embeddings, or vector stores that calculate embeddings server-side. - Removed existing collection checks for `Upsert` calls. Depending on the implementation, this has the potential to drastically increase HTTP traffic or local compute resources when making batch calls. The call has been moved to SemanticTextMemory for now to avoid additional breaking changes, but will be addressed in a better fashion in a follow-up PR. - Added a very simple example to `KernelSyntaxExamples `on how to create a read-only `IMemoryStore` that imports vectors from a json string. - Renamed `VectorDbException` -> `QdrantMemoryException`. Ensured that these exceptions can only be thrown by the `QdrantMemoryStore` and can accept an inner exception as a paramter. Additional small edits: - removed unnecessary namespace from KernelSyntaxExamples Example21 and Example22 - Removed unused references in `RestApiOperations.cs` and `JsonPathSkill.cs` ---------------- OUT OF SCOPE, COMING SOON ---------------- - The addition of a value string to MemoryRecord. This is very important for metadata flexibility, but it will come in a follow-up PR. - The ability to optionally return the vector to the user. In many cases, the vector is not important for get/search calls, thus it makes no sense to pass such large amounts of data around the kernel application. - Disambiguation of SemanticTextMemory interfaces, classes, and constructors. - Unit tests for QdrantVectorDbClient. Qdrant will be making breaking changes to their API very soon. TBD whether integration tests will be added as well.
1 parent 28b78d8 commit 1e72692

67 files changed

Lines changed: 4119 additions & 1990 deletions

File tree

Some content is hidden

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

‎dotnet/SK-dotnet.sln‎

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
3636
EndProject
3737
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SemanticKernel.UnitTests", "src\SemanticKernel.UnitTests\SemanticKernel.UnitTests.csproj", "{37E39C68-5A40-4E63-9D3C-0C66AD98DFCB}"
3838
EndProject
39-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Skills.Memory.Sqlite", "src\SemanticKernel.Skills\Skills.Memory.Sqlite\Skills.Memory.Sqlite.csproj", "{E23E7270-F13D-4620-A115-AA6A8619EE5A}"
40-
EndProject
4139
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "skills", "skills", "{9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}"
4240
EndProject
4341
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Skills.UnitTests", "src\SemanticKernel.Skills\Skills.UnitTests\Skills.UnitTests.csproj", "{107156B4-5A8B-45C7-97A2-4544D7FA19DE}"
@@ -51,16 +49,19 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuget", "nuget", "{F4243136
5149
EndProject
5250
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KernelBuilder", "..\samples\dotnet\KernelBuilder\KernelBuilder.csproj", "{A52818AC-57FB-495F-818F-9E1E7BC5618C}"
5351
EndProject
54-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Skills.Memory.Qdrant", "src\SemanticKernel.Skills\Skills.Memory.Qdrant\Skills.Memory.Qdrant.csproj", "{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC}"
55-
EndProject
5652
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GitHubSkills", "..\samples\dotnet\github-skills\GitHubSkills.csproj", "{39E5F0F6-8B36-4ECA-A5F6-FC7522DC2ECF}"
5753
EndProject
5854
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Skills.OpenAPI", "src\SemanticKernel.Skills\Skills.OpenAPI\Skills.OpenAPI.csproj", "{F2A1F81E-700E-4C0E-B021-B9EF29AA20BD}"
55+
EndProject
5956
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FileCompression", "..\samples\dotnet\FileCompression\FileCompression.csproj", "{BC70A5D8-2125-4C37-8C0E-C903EAFA9772}"
6057
EndProject
6158
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "connectors", "connectors", "{0247C2C9-86C3-45BA-8873-28B0948EDC0C}"
6259
EndProject
63-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Connectors.UnitTests", "src\Connectors\Connectors.UnitTests\Connectors.UnitTests.csproj", "{EB3FC57F-E591-4C88-BCD5-B6A1BC635168}"
60+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.UnitTests", "src\Connectors\Connectors.UnitTests\Connectors.UnitTests.csproj", "{EB3FC57F-E591-4C88-BCD5-B6A1BC635168}"
61+
EndProject
62+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Qdrant", "src\Connectors\Connectors.Memory.Qdrant\Connectors.Memory.Qdrant.csproj", "{5DEBAA62-F117-496A-8778-FED3604B70E2}"
63+
EndProject
64+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connectors.Memory.Sqlite", "src\Connectors\Connectors.Memory.Sqlite\Connectors.Memory.Sqlite.csproj", "{EC004F12-2F60-4EDD-B3CD-3A504900D929}"
6465
EndProject
6566
Global
6667
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -108,10 +109,6 @@ Global
108109
{37E39C68-5A40-4E63-9D3C-0C66AD98DFCB}.Debug|Any CPU.Build.0 = Debug|Any CPU
109110
{37E39C68-5A40-4E63-9D3C-0C66AD98DFCB}.Release|Any CPU.ActiveCfg = Release|Any CPU
110111
{37E39C68-5A40-4E63-9D3C-0C66AD98DFCB}.Release|Any CPU.Build.0 = Release|Any CPU
111-
{E23E7270-F13D-4620-A115-AA6A8619EE5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
112-
{E23E7270-F13D-4620-A115-AA6A8619EE5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
113-
{E23E7270-F13D-4620-A115-AA6A8619EE5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
114-
{E23E7270-F13D-4620-A115-AA6A8619EE5A}.Release|Any CPU.Build.0 = Release|Any CPU
115112
{107156B4-5A8B-45C7-97A2-4544D7FA19DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
116113
{107156B4-5A8B-45C7-97A2-4544D7FA19DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
117114
{107156B4-5A8B-45C7-97A2-4544D7FA19DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -120,10 +117,6 @@ Global
120117
{A52818AC-57FB-495F-818F-9E1E7BC5618C}.Debug|Any CPU.Build.0 = Debug|Any CPU
121118
{A52818AC-57FB-495F-818F-9E1E7BC5618C}.Release|Any CPU.ActiveCfg = Release|Any CPU
122119
{A52818AC-57FB-495F-818F-9E1E7BC5618C}.Release|Any CPU.Build.0 = Release|Any CPU
123-
{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
124-
{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
125-
{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
126-
{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC}.Release|Any CPU.Build.0 = Release|Any CPU
127120
{39E5F0F6-8B36-4ECA-A5F6-FC7522DC2ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
128121
{39E5F0F6-8B36-4ECA-A5F6-FC7522DC2ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
129122
{39E5F0F6-8B36-4ECA-A5F6-FC7522DC2ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -140,6 +133,14 @@ Global
140133
{EB3FC57F-E591-4C88-BCD5-B6A1BC635168}.Debug|Any CPU.Build.0 = Debug|Any CPU
141134
{EB3FC57F-E591-4C88-BCD5-B6A1BC635168}.Release|Any CPU.ActiveCfg = Release|Any CPU
142135
{EB3FC57F-E591-4C88-BCD5-B6A1BC635168}.Release|Any CPU.Build.0 = Release|Any CPU
136+
{5DEBAA62-F117-496A-8778-FED3604B70E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
137+
{5DEBAA62-F117-496A-8778-FED3604B70E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
138+
{5DEBAA62-F117-496A-8778-FED3604B70E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
139+
{5DEBAA62-F117-496A-8778-FED3604B70E2}.Release|Any CPU.Build.0 = Release|Any CPU
140+
{EC004F12-2F60-4EDD-B3CD-3A504900D929}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
141+
{EC004F12-2F60-4EDD-B3CD-3A504900D929}.Debug|Any CPU.Build.0 = Debug|Any CPU
142+
{EC004F12-2F60-4EDD-B3CD-3A504900D929}.Release|Any CPU.ActiveCfg = Release|Any CPU
143+
{EC004F12-2F60-4EDD-B3CD-3A504900D929}.Release|Any CPU.Build.0 = Release|Any CPU
143144
EndGlobalSection
144145
GlobalSection(SolutionProperties) = preSolution
145146
HideSolutionNode = FALSE
@@ -155,17 +156,17 @@ Global
155156
{689A5041-BAE7-448F-9BDC-4672E96249AA} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
156157
{EEA87FBC-4ED5-458C-ABD3-BEAEEB535BAF} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
157158
{37E39C68-5A40-4E63-9D3C-0C66AD98DFCB} = {831DDCA2-7D2C-4C31-80DB-6BDB3E1F7AE0}
158-
{E23E7270-F13D-4620-A115-AA6A8619EE5A} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
159159
{9ECD1AA0-75B3-4E25-B0B5-9F0945B64974} = {831DDCA2-7D2C-4C31-80DB-6BDB3E1F7AE0}
160160
{107156B4-5A8B-45C7-97A2-4544D7FA19DE} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
161161
{F4243136-252A-4459-A7C4-EE8C056D6B0B} = {158A4E5E-AEE0-4D60-83C7-8E089B2D881D}
162162
{A52818AC-57FB-495F-818F-9E1E7BC5618C} = {FA3720F1-C99A-49B2-9577-A940257098BF}
163-
{3E0FEA85-5B6F-431B-AD62-D2D0114F65CC} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
164163
{39E5F0F6-8B36-4ECA-A5F6-FC7522DC2ECF} = {FA3720F1-C99A-49B2-9577-A940257098BF}
165164
{F2A1F81E-700E-4C0E-B021-B9EF29AA20BD} = {9ECD1AA0-75B3-4E25-B0B5-9F0945B64974}
166165
{BC70A5D8-2125-4C37-8C0E-C903EAFA9772} = {FA3720F1-C99A-49B2-9577-A940257098BF}
167166
{0247C2C9-86C3-45BA-8873-28B0948EDC0C} = {831DDCA2-7D2C-4C31-80DB-6BDB3E1F7AE0}
168167
{EB3FC57F-E591-4C88-BCD5-B6A1BC635168} = {0247C2C9-86C3-45BA-8873-28B0948EDC0C}
168+
{5DEBAA62-F117-496A-8778-FED3604B70E2} = {0247C2C9-86C3-45BA-8873-28B0948EDC0C}
169+
{EC004F12-2F60-4EDD-B3CD-3A504900D929} = {0247C2C9-86C3-45BA-8873-28B0948EDC0C}
169170
EndGlobalSection
170171
GlobalSection(ExtensibilityGlobals) = postSolution
171172
SolutionGuid = {FBDC56A3-86AD-4323-AA0F-201E59123B83}

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Skills.Memory.Qdrant.csproj renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Connectors.Memory.Qdrant.csproj

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
<!-- <Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />-->
66

77
<PropertyGroup>
8-
<AssemblyName>Microsoft.SemanticKernel.Skills.Memory.Qdrant</AssemblyName>
9-
<RootNamespace>Microsoft.SemanticKernel.Skills.Memory.Qdrant</RootNamespace>
8+
<AssemblyName>Microsoft.SemanticKernel.Connectors.Memory.Qdrant</AssemblyName>
9+
<RootNamespace>Microsoft.SemanticKernel.Connectors.Memory.Qdrant</RootNamespace>
1010
<TargetFramework>netstandard2.1</TargetFramework>
1111
</PropertyGroup>
1212

13-
<!-- Before shipping this nuget we need to bring it under the Connectors terminology -->
14-
<!-- <PropertyGroup>-->
15-
<!-- &lt;!&ndash; NuGet Package Settings &ndash;&gt;-->
16-
<!-- <PackageId>Microsoft.SemanticKernel.Skills.Memory.Qdrant</PackageId>-->
17-
<!-- <Title>Semantic Kernel - Qdrant Connector</Title>-->
18-
<!-- </PropertyGroup>-->
13+
<PropertyGroup>
14+
<!-- NuGet Package Settings -->
15+
<PackageId>Microsoft.SemanticKernel.Connectors.Memory.Qdrant</PackageId>
16+
<Title>Semantic Kernel - Qdrant Connector</Title>
17+
</PropertyGroup>
1918

2019
<ItemGroup>
2120
<PackageReference Include="System.Text.Json" />

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Diagnostics/IValidatable.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Diagnostics/IValidatable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) Microsoft. All rights reserved.
22

3-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
3+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
44

55
internal interface IValidatable
66
{
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
// Copyright (c) Microsoft. All rights reserved.
2+
3+
using System;
4+
using Microsoft.SemanticKernel.Diagnostics;
5+
6+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
7+
8+
/// <summary>
9+
/// Custom exceptions for the Qdrant connector.
10+
/// </summary>
11+
public class QdrantMemoryException : Exception<QdrantMemoryException.ErrorCodes>
12+
{
13+
/// <summary>
14+
/// Error codes for the Qdrant connector exceptions.
15+
/// </summary>
16+
public enum ErrorCodes
17+
{
18+
/// <summary>
19+
/// Unknown error.
20+
/// </summary>
21+
UnknownError,
22+
23+
/// <summary>
24+
/// Failed to deserialize the record payload.
25+
/// </summary>
26+
UnableToDeserializeRecordPayload,
27+
28+
/// <summary>
29+
/// Failed to upsert the vector.
30+
/// </summary>
31+
FailedToUpsertVectors,
32+
33+
/// <summary>
34+
/// Failed to get vector data from Qdrant.
35+
/// </summary>
36+
FailedToGetVectorData,
37+
38+
/// <summary>
39+
/// Failed to remove vector data from Qdrant.
40+
/// </summary>
41+
FailedToRemoveVectorData,
42+
43+
/// <summary>
44+
/// Failed to convert a memory record to a Qdrant vector record.
45+
/// </summary>
46+
FailedToConvertMemoryRecordToQdrantVectorRecord,
47+
48+
/// <summary>
49+
/// Failed to convert a Qdrant vector record to a memory record.
50+
/// </summary>
51+
FailedToConvertQdrantVectorRecordToMemoryRecord
52+
}
53+
54+
/// <summary>
55+
/// Initializes a new instance of the <see cref="QdrantMemoryException"/> class with error code unknown.
56+
/// </summary>
57+
/// <param name="message">The exception message.</param>
58+
public QdrantMemoryException(string message)
59+
: this(ErrorCodes.UnknownError, message)
60+
{
61+
}
62+
63+
/// <summary>
64+
/// Initializes a new instance of the <see cref="QdrantMemoryException"/> class with a provided error code.
65+
/// </summary>
66+
/// <param name="error">The error code.</param>
67+
/// <param name="message">The exception message.</param>
68+
public QdrantMemoryException(ErrorCodes error, string message)
69+
: base(error, message)
70+
{
71+
}
72+
73+
/// <summary>
74+
/// Initializes a new instance of the <see cref="QdrantMemoryException"/> class with an inner exception.
75+
/// </summary>
76+
/// <param name="error">The error code.</param>
77+
/// <param name="message">The exception message.</param>
78+
/// <param name="innerException">The inner exception</param>
79+
public QdrantMemoryException(ErrorCodes error, string message, Exception innerException)
80+
: base(BuildMessage(error, message), innerException)
81+
{
82+
}
83+
84+
private QdrantMemoryException()
85+
{
86+
}
87+
88+
private static string BuildMessage(ErrorCodes error, string? message)
89+
{
90+
return message != null ? $"{error.ToString("G")}: {message}" : error.ToString("G");
91+
}
92+
93+
private QdrantMemoryException(string message, System.Exception innerException) : base(message, innerException)
94+
{
95+
}
96+
}

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Diagnostics/ValidateExtensions.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Diagnostics/ValidateExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Diagnostics.CodeAnalysis;
55
using System.Linq;
66

7-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
7+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
88

99
internal static class ValidateExtensions
1010
{

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Diagnostics/Verify.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Diagnostics/Verify.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using System.Linq;
99
using System.Runtime.CompilerServices;
1010

11-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
11+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
1212

1313
internal static class Verify
1414
{

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Http/ApiSchema/CreateCollectionRequest.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Http/ApiSchema/CreateCollectionRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System;
44
using System.Net.Http;
55
using System.Text.Json.Serialization;
6-
using Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
6+
using Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
77

8-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Http.ApiSchema;
8+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Http.ApiSchema;
99

1010
internal sealed class CreateCollectionRequest
1111
{

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Http/ApiSchema/DeleteCollectionRequest.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Http/ApiSchema/DeleteCollectionRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright (c) Microsoft. All rights reserved.
22

33
using System.Net.Http;
4-
using Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
4+
using Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
55

6-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Http.ApiSchema;
6+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Http.ApiSchema;
77

88
internal class DeleteCollectionRequest : IValidatable
99
{

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Http/ApiSchema/DeleteVectorsRequest.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Http/ApiSchema/DeleteVectorsRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Collections.Generic;
44
using System.Net.Http;
55
using System.Text.Json.Serialization;
6-
using Microsoft.SemanticKernel.Skills.Memory.Qdrant.Diagnostics;
6+
using Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Diagnostics;
77

8-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Http.ApiSchema;
8+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Http.ApiSchema;
99

1010
internal class DeleteVectorsRequest : IValidatable
1111
{

dotnet/src/SemanticKernel.Skills/Skills.Memory.Qdrant/Http/ApiSchema/GetCollectionRequest.cs renamed to dotnet/src/Connectors/Connectors.Memory.Qdrant/Http/ApiSchema/GetCollectionRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Net.Http;
44
using System.Text.Json.Serialization;
55

6-
namespace Microsoft.SemanticKernel.Skills.Memory.Qdrant.Http.ApiSchema;
6+
namespace Microsoft.SemanticKernel.Connectors.Memory.Qdrant.Http.ApiSchema;
77

88
internal class GetCollectionsRequest
99
{

0 commit comments

Comments
 (0)