Browse Source
Fix code example in AI documentation
pull/24599/head
Enis Necipoglu
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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/) |
|
|
|
|