ENUMDATASOURCETYPE

Specifies the type of data source referenced by the DATA FROM clause.

List of ENUMDATASOURCETYPE

NameDescription
NONE_SETNo data source specified.
DATABASEIndicates a DATABASE-backed data source.
CSVIndicates an inline or external CSV data source.

Syntax

	<CSV> '<TEXT>'
	DATA FROM DATABASE

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
        '

	
MODULE
    MODEL
        DATA FROM DATABASE
            DbType = MSSQL
            ConnectionName = 'CustomerDB'
            SQL = '
                SELECT
                    SentimentScore,
                    IssueSeverityScore,
                    WaitTime,
                    CustomerAge,
                    RuleAction
                FROM CustomerInteractions
            '