The wire contract DatAInsightsComposerAIService hands to
DatAInsightsComposerAIService.SendGenerateComponentsRequestAsync when no IChatClient is
used in-process. Carries everything a standalone backend needs to build its own chat messages,
call an LLM, and return a JSON answer: the operation being performed, the prompts, and the response
JSON schema (already extracted from ChatOptions so a customer's backend never needs to
know about Microsoft.Extensions.AI types). The output token budget is intentionally not
part of this contract — that's for the consuming application to decide, not the library.
Definition
Namespace:Telerik.Blazor.Components.DatAInsightsComposer
Assembly:Telerik.Blazor.DatAInsightsComposer.dll
Syntax:
public class GenerateComponentsAIRequest
Inheritance: objectGenerateComponentsAIRequest
Constructors
public GenerateComponentsAIRequest()
Properties
The (sanitized) end-user prompt driving this call.
public string? Prompt { get; set; }
The JSON schema itself, if one is set for this call.
public JsonElement? Schema { get; set; }
The system prompt built by the pipeline for this step, if any.
public string? SystemPrompt { get; set; }