Moka.Blazor.AI.Components
| Name | Kind | Description |
|---|---|---|
| MokaAiPanel | Class | A reusable AI chat panel component with streaming, settings, markdown rendering, copy, stop, edit/re-send, and configurable quick actions. |
| MokaAiSettingsPanel | Class | Settings dropdown panel for an AI chat panel. Provides runtime configuration of model, temperature, context size, and streaming. |
Moka.Blazor.AI.Extensions
| Name | Kind | Description |
|---|---|---|
| ServiceCollectionExtensions | Class | Extension methods for registering Moka.Blazor.AI services. |
Moka.Blazor.AI.Models
| Name | Kind | Description |
|---|---|---|
| AiChatOptions | Class | Configuration options for the AI chat service. |
| AiContextScope | Record | Represents a named scope entry for focused context building. |
| AiMessage | Class | A single message in an AI conversation. |
| AiMessageRole | Enum | Role of a message in the conversation. |
| AiProvider | Enum | AI provider backend type. |
| AiQuickAction | Record | A configurable quick action button for the AI chat panel. |
| ChatStyle | Enum | Visual style for the AI chat messages area. |
Moka.Blazor.AI.Onnx.Extensions
| Name | Kind | Description |
|---|---|---|
| ServiceCollectionExtensions | Class | Extension methods for registering the ONNX Runtime GenAI provider with Moka.Blazor.AI. |
Moka.Blazor.AI.Onnx.Models
| Name | Kind | Description |
|---|---|---|
| OnnxAiOptions | Class | Configuration options for the ONNX Runtime GenAI provider. |
Moka.Blazor.AI.Services
| Name | Kind | Description |
|---|---|---|
| AiChatService | Class | Generic AI chat service that wraps an IChatClient for streaming and non-streaming chat interactions. Domain-specific context is provided via IAiContextBuilder. |
| IAiContextBuilder | Interface | Provides domain-specific context for the AI assistant. Implementors extract relevant content from their data source (JSON document, code file, etc.) to include in the AI prompt. |