File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
docs/ai/how-to/snippets/semantic-kernel Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- using Azure . Core ;
1
+ using Azure . Core ;
2
2
using Azure . Identity ;
3
3
using Microsoft . Extensions . Configuration ;
4
4
using Microsoft . SemanticKernel ;
@@ -94,7 +94,7 @@ static async Task AiSearchExample()
94
94
// Build a SemanticMemoryStore with Azure AI Search as the store.
95
95
// Must also include a text embedding generation service.
96
96
ISemanticTextMemory memory = new MemoryBuilder ( )
97
- . WithAzureOpenAITextEmbeddingGeneration ( embeddingModel , openAiEndpoint , credentials )
97
+ . WithOpenAITextEmbeddingGeneration ( embeddingModel , openAiEndpoint )
98
98
. WithMemoryStore ( memoryStore )
99
99
. Build ( ) ;
100
100
// </aiStore>
@@ -165,7 +165,7 @@ await ConnectionMultiplexer.ConnectAsync(redisConnectionString)
165
165
// Build a SemanticMemoryStore with Azure AI Search as the store.
166
166
// Must also include a text embedding generation service.
167
167
ISemanticTextMemory memory = new MemoryBuilder ( )
168
- . WithAzureOpenAITextEmbeddingGeneration ( embeddingModel , openAiEndpoint , credentials )
168
+ . WithOpenAITextEmbeddingGeneration ( embeddingModel , openAiEndpoint )
169
169
. WithMemoryStore ( memoryStore )
170
170
. Build ( ) ;
171
171
// </redisStore>
Original file line number Diff line number Diff line change 11
11
12
12
<ItemGroup >
13
13
<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" />
15
15
<PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 8.0.0" />
16
16
<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 " />
19
19
<PackageReference Include =" Microsoft.SemanticKernel.Connectors.AzureAISearch" Version =" 1.9.0-alpha" />
20
20
<PackageReference Include =" Microsoft.SemanticKernel.Connectors.Redis" Version =" 1.9.0-alpha" />
21
21
<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 " />
23
23
</ItemGroup >
24
24
25
25
</Project >
You can’t perform that action at this time.
0 commit comments