Browse Source

Fix code example in AI documentation

pull/24599/head
Enis Necipoglu 4 weeks ago
committed by GitHub
parent
commit
4f18932848
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/framework/infrastructure/artificial-intelligence/microsoft-extensions-ai.md

4
docs/en/framework/infrastructure/artificial-intelligence/microsoft-extensions-ai.md

@ -92,7 +92,7 @@ Example of resolving a typed chat client accessor:
public class MyService
{
private readonly IChatClientAccessor<CommentSummarization> _chatClientAccessor;
}
public async Task<string> GetResponseAsync(string prompt)
{
var chatClient = _chatClientAccessor.ChatClient;
@ -174,4 +174,4 @@ public class MyProjectModule : AbpModule
- [Usage of Agent Framework](./microsoft-agent-framework.md)
- [Usage of Semantic Kernel](./microsoft-semantic-kernel.md)
- [AI Samples for .NET](https://learn.microsoft.com/en-us/samples/dotnet/ai-samples/ai-samples/)
- [AI Samples for .NET](https://learn.microsoft.com/en-us/samples/dotnet/ai-samples/ai-samples/)

Loading…
Cancel
Save