Microsoft.Extensions.AI Integration
Cross-SDK comparison
See the centralized MEAI documentation for feature matrices and comparisons across all tryAGI SDKs.
The Gonka SDK implements Microsoft.Extensions.AI.IChatClient on top of the direct signed Gonka client. The adapter supports text chat, streaming updates, image URL/data content, JSON response-format hints, and function-tool request/response mapping.
Installation
1 | |
Usage
1 2 3 4 5 6 7 8 9 10 11 12 | |
Notes
- Requests still use Gonka direct-network signing, so configure
GONKA_PRIVATE_KEYplusGONKA_ENDPOINTSorGONKA_SOURCE_URL. - Streaming uses
CreateChatCompletionStreamingAsyncinternally and maps server-sent chunks toChatResponseUpdate. - See the centralized MEAI docs for cross-SDK comparisons.