Excludes a property from the AI-assistant JSON schema, either globally or only for specific declared types.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
C#
[AttributeUsage(AttributeTargets.Struct|AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantExcludeAttribute : Attribute
Inheritance: objectAttributeAIAssistantExcludeAttribute
Constructors
Initializes a new instance of AIAssistantExcludeAttribute.
C#
public AIAssistantExcludeAttribute(string types = "")
Optional comma-separated type names to which the exclusion is scoped.
When omitted or empty the property is excluded for all types.
Example: "Graph, Map".
Properties
Types
string[]
Gets the type names for which this property should be excluded. An empty array means "exclude for all types".
C#
public string[] Types { get; }