stentor-models 1.58.0 → 1.58.3

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,6 +1,7 @@
1
1
  /*! Copyright (c) 2019, XAPPmedia */
2
2
  import { IntentRequest, InputUnknownRequest } from "../Request";
3
3
  import { ActiveContext } from "../Response";
4
+ import { KnowledgeBaseServiceFilters } from "../Services";
4
5
  /**
5
6
  * Slightly smaller intent request without the sessionId and other identifying information. It also doesn't pass through the original raw query.
6
7
  */
@@ -35,6 +36,12 @@ export interface NLURequestProps {
35
36
  * Optional request attributes.
36
37
  */
37
38
  requestAttributes?: Record<string, string>;
39
+ /**
40
+ * Optional filters for knowledge base service calls
41
+ */
42
+ filters?: {
43
+ [key: KnowledgeBaseServiceFilters]: string;
44
+ };
38
45
  }
39
46
  /**
40
47
  * Service which can turn raw text into an intent and slots (optional).
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.58.0",
7
+ "version": "1.58.3",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -20,7 +20,7 @@
20
20
  "@microsoft/api-extractor": "7.36.4",
21
21
  "@rollup/plugin-typescript": "11.1.3",
22
22
  "@xapp/config": "0.2.3",
23
- "rollup": "3.28.1",
23
+ "rollup": "3.29.0",
24
24
  "tslib": "2.6.2",
25
25
  "typescript": "5.2.2"
26
26
  },
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.1"
35
35
  },
36
- "gitHead": "a88b1dae3d88406768e35a7d78e876477f682baf"
36
+ "gitHead": "fa49afa8147a5d7457d17073758c8a30c9bfbdb2"
37
37
  }