You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
if(!splitReference)throw(newexception(retCode.errorCode.INVALID_LU_FILE_REF,`[ERROR]: Invalid LU File Ref: "${utterance}".\n Reference needs a qualifier - either a #Intent-Name or #? or *#? or **#? or #*utterances* etc.`));
82
+
if(!splitReference){
83
+
throw(newexception(retCode.errorCode.INVALID_LU_FILE_REF,`[ERROR]: Invalid LU File Ref: "${utterance}".\n Reference needs a qualifier - either a #Intent-Name or #? or *#? or **#? or #*utterances* etc.`));
if(!splitReference)throw(newexception(retCode.errorCode.INVALID_LU_FILE_REF,`[ERROR]: Invalid LU File Ref: "${utterance}".\n Reference needs a qualifier - either a #Intent-Name or #? or *#? or **#? or #*utterances* etc.`));
117
+
if(!splitReference){
118
+
throw(newexception(retCode.errorCode.INVALID_LU_FILE_REF,`[ERROR]: Invalid LU File Ref: "${utterance}".\n Reference needs a qualifier - either a #Intent-Name or #? or *#? or **#? or #*utterances* etc.`));
119
+
}else{
120
+
splitReference.groups={
121
+
fileName: splitReference[1],
122
+
segment: splitReference[2],
123
+
path: splitReference[3]
124
+
}
125
+
}
126
+
109
127
if(splitReference.groups.segment.includes('*')){
110
128
if(splitReference.groups.path===''){
111
129
throw(newexception(retCode.errorCode.INVALID_LU_FILE_REF,`[ERROR]: Invalid LU File Ref: "${utterance}".\n '*' and '**' can only be used with QnA qualitifier. e.g. *#? and **#?`));
0 commit comments