From 929091e1f34597e4be6a30a1aaa937df1b6e9b6b Mon Sep 17 00:00:00 2001 From: enisn Date: Wed, 12 Nov 2025 16:03:06 +0300 Subject: [PATCH] Update artificial-intelligence.md --- docs/en/framework/infrastructure/artificial-intelligence.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en/framework/infrastructure/artificial-intelligence.md b/docs/en/framework/infrastructure/artificial-intelligence.md index f88b24648a..de51a1f9d5 100644 --- a/docs/en/framework/infrastructure/artificial-intelligence.md +++ b/docs/en/framework/infrastructure/artificial-intelligence.md @@ -115,6 +115,7 @@ You can resolve generic versions of `IChatClient`, `IChatClientAccessor` or `IKe public class MyService { private readonly IChatClientAccessor _chatClientAccessor; + public MyService(IChatClientAccessor chatClientAccessor) { _chatClientAccessor = chatClientAccessor; @@ -148,7 +149,7 @@ public class MyService ### Microsoft.Extensions.AI To configure a chat client, you'll need a LLM provider package such as [Microsoft.Extensions.AI.OpenAI](https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI) or [OllamaSharp](https://www.nuget.org/packages/OllamaSharp/) to configure a chat client. -_The following example is requires [OllamaSharp](https://www.nuget.org/packages/OllamaSharp/) package to be installed._ +_The following example requires [OllamaSharp](https://www.nuget.org/packages/OllamaSharp/) package to be installed._ Demonstration of the default workspace configuration: @@ -201,7 +202,7 @@ public class MyProjectModule : AbpModule ### Semantic Kernel To configure a kernel, you'll need a kernel connector package such as [Microsoft.SemanticKernel.Connectors.OpenAI](Microsoft.SemanticKernel.Connectors.OpenAI) to configure a kernel to use a specific LLM provider. -_The following example is requires [Microsoft.SemanticKernel.Connectors.AzureOpenAI](Microsoft.SemanticKernel.Connectors.AzureOpenAI) package to be installed._ +_The following example requires [Microsoft.SemanticKernel.Connectors.AzureOpenAI](Microsoft.SemanticKernel.Connectors.AzureOpenAI) package to be installed._ Demonstration of the default workspace configuration: ```csharp