DatasetDescriptor
Describes a dataset: field metadata for the AI, plus (optionally) the actual data rows for rendering. Fields/Id/Description are sent to the AI so it can reason about which dataset best matches a user prompt; Data is JsonIgnoreAttribute and is never sent to the AI — it exists purely so the host app can carry the actual rows alongside their metadata as a single object, instead of passing data and field descriptors as separate parameters.
Definition
Namespace:Telerik.Blazor.Components.DatAInsightsComposer
Assembly:Telerik.Blazor.DatAInsightsComposer.dll
Syntax:
public class DatasetDescriptor
Inheritance: objectDatasetDescriptor
Constructors
public DatasetDescriptor()
Properties
The actual data rows for this dataset, used only for local rendering (e.g. by
TelerikDatAInsightsComposer). Excluded from JSON serialization so it is never
included in an AI request, even if a DatasetDescriptor carrying real rows is
accidentally passed straight through to GenerateComponentsRequest/RefineComponentsRequest.
[JsonIgnore]
public IEnumerable<object>? Data { get; set; }
Human-readable description of what the dataset contains.
public string? Description { get; set; }
Field definitions that describe the shape of the dataset.
public List<DatasetFieldDescriptor> Fields { get; set; }