From ebfa407b5f91d10b8b1bc1258af7ae32b36795e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:14:48 +0000 Subject: [PATCH 1/2] Bump the dotnet group across 1 directory with 4 updates Bumps the dotnet group with 4 updates in the /docs/ai/how-to/snippets/semantic-kernel directory: [Azure.Identity](https://github.com/Azure/azure-sdk-for-net), [Microsoft.Extensions.Configuration.UserSecrets](https://github.com/dotnet/runtime), [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel) and [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis). Updates `Azure.Identity` from 1.12.0 to 1.13.0 - [Release notes](https://github.com/Azure/azure-sdk-for-net/releases) - [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.12.0...Azure.Identity_1.13.0) Updates `Microsoft.Extensions.Configuration.UserSecrets` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) Updates `Microsoft.SemanticKernel` from 1.17.2 to 1.24.1 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.17.2...dotnet-1.24.1) Updates `StackExchange.Redis` from 2.8.0 to 2.8.16 - [Release notes](https://github.com/StackExchange/StackExchange.Redis/releases) - [Changelog](https://github.com/StackExchange/StackExchange.Redis/blob/main/docs/ReleaseNotes.md) - [Commits](https://github.com/StackExchange/StackExchange.Redis/compare/2.8.0...2.8.16) --- updated-dependencies: - dependency-name: Azure.Identity dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.UserSecrets dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: StackExchange.Redis dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] --- .../snippets/semantic-kernel/semantic-kernel.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj index f1dca95979bce..5217928c912b1 100644 --- a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj +++ b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj @@ -11,15 +11,15 @@ - + - - + + - + From 535d0a8a007bcc0c45f1a1c29c868105c1de9432 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:00:16 -0700 Subject: [PATCH 2/2] fix build errors --- docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs b/docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs index d3425a306fe80..a6b547d415c03 100644 --- a/docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs +++ b/docs/ai/how-to/snippets/semantic-kernel/IdentityExamples.cs @@ -1,4 +1,4 @@ -using Azure.Core; +using Azure.Core; using Azure.Identity; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; @@ -94,7 +94,7 @@ static async Task AiSearchExample() // Build a SemanticMemoryStore with Azure AI Search as the store. // Must also include a text embedding generation service. ISemanticTextMemory memory = new MemoryBuilder() - .WithAzureOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint, credentials) + .WithOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint) .WithMemoryStore(memoryStore) .Build(); // @@ -165,7 +165,7 @@ await ConnectionMultiplexer.ConnectAsync(redisConnectionString) // Build a SemanticMemoryStore with Azure AI Search as the store. // Must also include a text embedding generation service. ISemanticTextMemory memory = new MemoryBuilder() - .WithAzureOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint, credentials) + .WithOpenAITextEmbeddingGeneration(embeddingModel, openAiEndpoint) .WithMemoryStore(memoryStore) .Build(); //