We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c1396d commit bd7f107Copy full SHA for bd7f107
1 file changed
EssentialCSharp.Chat.Shared/Extensions/ServiceCollectionExtensions.cs
@@ -34,12 +34,6 @@ public static IServiceCollection AddAzureOpenAIServices(this IServiceCollection
34
services.AddSingleton(provider =>
35
new AzureOpenAIClient(new Uri(aiOptions.Endpoint), new Azure.AzureKeyCredential(aiOptions.ApiKey)));
36
37
- // Register Azure OpenAI services
38
- services.AddAzureOpenAIEmbeddingGenerator(
39
- aiOptions.VectorGenerationDeploymentName,
40
- aiOptions.Endpoint,
41
- aiOptions.ApiKey);
42
-
43
services.AddAzureOpenAIChatCompletion(
44
aiOptions.ChatDeploymentName,
45
aiOptions.Endpoint,
0 commit comments