stentor-models 1.54.3 → 1.54.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/NLU/NLUService.d.ts
CHANGED
|
@@ -3,8 +3,18 @@ import { InputUnknownRequestType, IntentRequestType, KnowledgeAnswer, RequestSlo
|
|
|
3
3
|
import { ActiveContext } from "../Response";
|
|
4
4
|
export interface NLUQueryResponse {
|
|
5
5
|
type: IntentRequestType | InputUnknownRequestType;
|
|
6
|
+
/**
|
|
7
|
+
* ID for the matched intent.
|
|
8
|
+
*/
|
|
6
9
|
intentId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional slots for the matched intent.
|
|
12
|
+
*/
|
|
7
13
|
slots?: RequestSlotMap;
|
|
14
|
+
/**
|
|
15
|
+
* Confidence level of the intent match. On a scale from 0-1 where 1 is the highest confidence of a match.
|
|
16
|
+
*/
|
|
17
|
+
matchConfidence?: number;
|
|
8
18
|
knowledgeAnswer?: KnowledgeAnswer;
|
|
9
19
|
}
|
|
10
20
|
export interface NLURequestProps {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.54.
|
|
7
|
+
"version": "1.54.11",
|
|
8
8
|
"description": "Models for 📣 stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@xapp/config": "0.2.3",
|
|
23
23
|
"rollup": "2.70.1",
|
|
24
24
|
"tslib": "2.3.1",
|
|
25
|
-
"typescript": "4.6.
|
|
25
|
+
"typescript": "4.6.3"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"api": "api-extractor run --local",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@xapp/patterns": "1.40.83"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "ca916defccabd9c9cb6659f827ebf9951444888c"
|
|
37
37
|
}
|