Skip to content

Commit 3becc8a

Browse files
Bump the dotnet group across 1 directory with 4 updates (#43171)
1 parent 27bb587 commit 3becc8a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Azure.Core;
1+
using Azure.Core;
22
using Azure.Identity;
33
using Microsoft.Extensions.Configuration;
44
using Microsoft.SemanticKernel;
@@ -94,7 +94,7 @@ static async Task AiSearchExample()
9494
// Build a SemanticMemoryStore with Azure AI Search as the store.
9595
// Must also include a text embedding generation service.
9696
ISemanticTextMemory memory = new MemoryBuilder()
97-
.WithAzureOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint, credentials)
97+
.WithOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint)
9898
.WithMemoryStore(memoryStore)
9999
.Build();
100100
// </aiStore>
@@ -165,7 +165,7 @@ await ConnectionMultiplexer.ConnectAsync(redisConnectionString)
165165
// Build a SemanticMemoryStore with Azure AI Search as the store.
166166
// Must also include a text embedding generation service.
167167
ISemanticTextMemory memory = new MemoryBuilder()
168-
.WithAzureOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint, credentials)
168+
.WithOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint)
169169
.WithMemoryStore(memoryStore)
170170
.Build();
171171
// </redisStore>

docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.3.2" />
14-
<PackageReference Include="Azure.Identity" Version="1.12.0" />
14+
<PackageReference Include="Azure.Identity" Version="1.13.0" />
1515
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
1616
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
17-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
18-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.17.2" />
17+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.1" />
18+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.24.1" />
1919
<PackageReference Include="Microsoft.SemanticKernel.Connectors.AzureAISearch" Version="1.9.0-alpha" />
2020
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Redis" Version="1.9.0-alpha" />
2121
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.9.0-alpha" />
22-
<PackageReference Include="StackExchange.Redis" Version="2.8.0" />
22+
<PackageReference Include="StackExchange.Redis" Version="2.8.16" />
2323
</ItemGroup>
2424

2525
</Project>

0 commit comments

Comments
 (0)