Skip to content

Commit 33d2eba

Browse files
authored
Update to SK 1.15.1 (#1047)
### Motivation and Context New NuGet packages are available and should be used to get the latest bug fixes. ### Description Getting latest versions of NuGet packages and make slight code adaptations to keep it functional. ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [Contribution Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible
1 parent ffac70b commit 33d2eba

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

integration-tests/ChatCopilotIntegrationTests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
1616
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
1717
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
18-
<PackageReference Include="xunit" Version="2.8.1" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
18+
<PackageReference Include="xunit" Version="2.9.0" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
<PrivateAssets>all</PrivateAssets>
2222
</PackageReference>

memorypipeline/CopilotChatMemoryPipeline.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
18-
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.62.240605.1" />
19-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.14.1" />
18+
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.66.240709.1" />
19+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.15.1" />
2020
</ItemGroup>
2121

2222
</Project>

shared/CopilotChatShared.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.62.240605.1" />
13-
<PackageReference Include="Microsoft.KernelMemory.MemoryDb.Postgres" Version="0.62.240605.1" />
14-
<PackageReference Include="Microsoft.KernelMemory.MemoryDb.Redis" Version="0.62.240605.1" />
15-
<PackageReference Include="Microsoft.KernelMemory.Orchestration.RabbitMQ" Version="0.62.240605.1" />
12+
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.66.240709.1" />
13+
<PackageReference Include="Microsoft.KernelMemory.MemoryDb.Postgres" Version="0.66.240709.1" />
14+
<PackageReference Include="Microsoft.KernelMemory.MemoryDb.Redis" Version="0.66.240709.1" />
15+
<PackageReference Include="Microsoft.KernelMemory.Orchestration.RabbitMQ" Version="0.66.240709.1" />
1616
<PackageReference Include="Tesseract" Version="5.2.0" />
1717
</ItemGroup>
1818

tools/importdocument/ImportDocument.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" />
19+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
2020
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
2121
<PackageReference Include="Microsoft.Identity.Client" Version="4.61.3" />
2222
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />

webapi/CopilotChatWebApi.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
2323
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.41.0" />
2424
<PackageReference Include="Microsoft.Identity.Web" Version="2.20.0" />
25-
<PackageReference Include="Microsoft.KernelMemory.Abstractions" Version="0.62.240605.1" />
26-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.14.1" />
27-
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="1.14.1" />
25+
<PackageReference Include="Microsoft.KernelMemory.Abstractions" Version="0.66.240709.1" />
26+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.15.1" />
27+
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="1.15.1" />
2828
<PackageReference Include="Microsoft.SemanticKernel.Connectors.AzureAISearch" Version="1.5.0-alpha" />
2929
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Qdrant" Version="1.5.0-alpha" />
3030
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Core" Version="1.5.0-alpha" />

webapi/Extensions/ISemanticMemoryClientExtensions.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ await memoryClient.SearchAsync(
101101
null,
102102
relevanceThreshold, // minRelevance param
103103
resultCount,
104-
cancellationToken);
104+
cancellationToken: cancellationToken);
105105

106106
return searchResult;
107107
}
@@ -128,7 +128,7 @@ public static async Task StoreDocumentAsync(
128128
uploadRequest.Tags.Add(MemoryTags.TagChatId, chatId);
129129
uploadRequest.Tags.Add(MemoryTags.TagMemory, memoryName);
130130

131-
await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken);
131+
await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken: cancellationToken);
132132
}
133133

134134
public static Task StoreMemoryAsync(
@@ -173,7 +173,7 @@ public static async Task StoreMemoryAsync(
173173
uploadRequest.Tags.Add(MemoryTags.TagChatId, chatId);
174174
uploadRequest.Tags.Add(MemoryTags.TagMemory, memoryName);
175175

176-
await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken);
176+
await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken: cancellationToken);
177177
}
178178

179179
public static async Task RemoveChatMemoriesAsync(

0 commit comments

Comments
 (0)