ClassAIAssistantExcludeAttribute
Class
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:
cs-api-definition
[AttributeUsage(AttributeTargets.Struct|AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantExcludeAttribute : Attribute
Inheritance: objectAttributeAIAssistantExcludeAttribute
Constructors
AIAssistantExcludeAttribute(string)
Initializes a new instance of AIAssistantExcludeAttribute.
Declaration
cs-api-definition
public AIAssistantExcludeAttribute(string types = "")
Parameters
types
string
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
Gets the type names for which this property should be excluded. An empty array means "exclude for all types".
Declaration
cs-api-definition
public string[] Types { get; }
Property Value
string[]