stentor-models 1.59.6 → 1.59.12

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.
@@ -1,4 +1,5 @@
1
1
  /*! Copyright (c) 2019, XAPPmedia */
2
+ import { Message } from "../Message";
2
3
  import { IntentRequest, InputUnknownRequest } from "../Request";
3
4
  import { ActiveContext } from "../Response";
4
5
  import { KnowledgeBaseServiceFilters } from "../Services";
@@ -27,6 +28,14 @@ export interface NLURequestProps {
27
28
  * Optional sessionId to pass with the request
28
29
  */
29
30
  sessionId?: string;
31
+ /**
32
+ * Optional channel information
33
+ */
34
+ channel?: string;
35
+ /**
36
+ * Optional platform information.
37
+ */
38
+ platform?: string;
30
39
  /**
31
40
  * Optional active context to pass with the request, used to weight
32
41
  * certain intents.
@@ -36,6 +45,10 @@ export interface NLURequestProps {
36
45
  * Optional request attributes.
37
46
  */
38
47
  requestAttributes?: Record<string, string>;
48
+ /**
49
+ * Current session transcript
50
+ */
51
+ transcript?: Message[];
39
52
  /**
40
53
  * Optional filters for knowledge base service calls
41
54
  */
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.59.6",
7
+ "version": "1.59.12",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.2"
35
35
  },
36
- "gitHead": "a5b5572c528acd0ec7eebe0837a476315b83ab8d"
36
+ "gitHead": "54f0f8f75ac0b7000538e1ccef613c5b9de75527"
37
37
  }