Skip to content

Commit bd7f107

Browse files
Update ServiceCollectionExtensions.cs
1 parent 9c1396d commit bd7f107

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

EssentialCSharp.Chat.Shared/Extensions/ServiceCollectionExtensions.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ public static IServiceCollection AddAzureOpenAIServices(this IServiceCollection
3434
services.AddSingleton(provider =>
3535
new AzureOpenAIClient(new Uri(aiOptions.Endpoint), new Azure.AzureKeyCredential(aiOptions.ApiKey)));
3636

37-
// Register Azure OpenAI services
38-
services.AddAzureOpenAIEmbeddingGenerator(
39-
aiOptions.VectorGenerationDeploymentName,
40-
aiOptions.Endpoint,
41-
aiOptions.ApiKey);
42-
4337
services.AddAzureOpenAIChatCompletion(
4438
aiOptions.ChatDeploymentName,
4539
aiOptions.Endpoint,

0 commit comments

Comments
 (0)