@botpress/runtime 1.10.3 → 1.10.5

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.
@@ -2,15 +2,14 @@ export declare const Knowledge: {};
2
2
  export declare const WellKnownTags: {
3
3
  readonly knowledge: {
4
4
  /**
5
- * All knowledge base have this tag (with value "true") to identify them as knowledge-related records.
6
- * @example "knowledge": "true"
5
+ * All knowledge base have this tag (with value "knowledge-base") to identify them as knowledge-related records.
6
+ * @example "source": "knowledge-base"
7
7
  */
8
- readonly KNOWLEDGE: "knowledge";
8
+ readonly KNOWLEDGE: "source";
9
9
  /**
10
10
  * The ID of the knowledge base the record belongs to.
11
- * This is the ID of the Knowledge Base primitive
11
+ * This is the ID of the Knowledge Base primitive from Botpress.
12
12
  * @example "kbId": "kb_01K6RT9T39KF7K0A7R7D71TDZ1"
13
- * @deprecated Use KNOWLEDGE_BASE_NAME for now, as we will be moving to IDs later.
14
13
  */
15
14
  readonly KNOWLEDGE_BASE_ID: "kbId";
16
15
  /**
@@ -20,15 +19,15 @@ export declare const WellKnownTags: {
20
19
  readonly KNOWLEDGE_BASE_NAME: "kbName";
21
20
  /**
22
21
  * The ID of the Data Source the record was ingested from.
23
- * @example "sourceId": "docs"
22
+ * @example "dsId": "docs"
24
23
  */
25
- readonly KNOWLEDGE_SOURCE_ID: "sourceId";
24
+ readonly KNOWLEDGE_SOURCE_ID: "dsId";
26
25
  /**
27
26
  * The type of the Data Source the record was ingested from.
28
- * Possible values are: "directory", "table", "api", etc.
29
- * @example "sourceType": "directory"
27
+ * Possible values are: "document", "rich-text", "web-page", etc.
28
+ * @example "dsType": "document"
30
29
  */
31
- readonly KNOWLEDGE_SOURCE_TYPE: "sourceType";
30
+ readonly KNOWLEDGE_SOURCE_TYPE: "dsType";
32
31
  };
33
32
  };
34
33
  export declare const WellKnownMetadata: {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,IAAc,CAAA;AAEpC,eAAO,MAAM,aAAa;;QAEtB;;;WAGG;;QAGH;;;;;WAKG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;;WAIG;;;CAGG,CAAA;AAEV,eAAO,MAAM,iBAAiB;;QAE1B;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;;CAGG,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,IAAc,CAAA;AAEpC,eAAO,MAAM,aAAa;;QAEtB;;;WAGG;;QAGH;;;;WAIG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;;WAIG;;;CAGG,CAAA;AAEV,eAAO,MAAM,iBAAiB;;QAE1B;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;QAGH;;;WAGG;;;CAGG,CAAA"}