CSV

Defines inline or external CSV data as a knowledge contribution.

Properties of CSV

NameTypeDescription
TextSTRINGCSV data source node used to load tabular data into the model and constraints.
TitleSTRINGThe unique name or title of the item.
EnabledBOOLEANControls whether the dataset participates in evaluation. Enabled by default;
WeightDECIMALOptional weight used to influence priority or contribution during evaluation.
PriorityDECIMALDefines the relative priority of the during evaluation. Higher priority may be evaluated earlier or override lower priority rules.
ActionFieldNameSTRINGSpecifies the column that defines the decision outcome for each data row. This field is required and must exist for inference to occur. Default 'Action'
TitleFieldNameSTRINGSpecifies the column that provides a human-readable title or label for each data row. This field is optional and is used for identification, display, or reporting purposes only. It does not participate in inference or decision-making. Default 'Title'
PriorityFieldNameSTRINGSpecifies the column that defines row-level priority. If not provided, a neutral priority is assumed. Default 'Priority'
WeightFieldNameSTRINGSpecifies the column that defines row-level weight used to scale influence. If not provided, a neutral weight is assumed. Default 'Weight'
EnabledFieldNameSTRINGSpecifies the column that determines whether a data row is admitted into inference. If the value evaluates to false, the row is excluded entirely and no DecisionRow is created. If not provided, rows are assumed to be enabled. Default 'Enabled'

Syntax

	<CSV> '<TEXT>'

Examples

	
MODULE
    MODEL
        DATA FROM CSV
        '
            SentimentScore,IssueSeverityScore,WaitTime,CustomerAge,RuleAction
            -12.0,4,25,80,Escalate
            -9.5,3,20,75,Escalate
            -2.0,1,5,45,Standard
            1.5,0,2,30,Standard
        '