stentor-models 1.59.59 → 1.59.63

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) 2021, XAPPmedia */
2
+ import { SuggestionObjectTypes } from "../Suggestion";
2
3
  export interface KnowledgeAnswer {
3
4
  /**
4
5
  * Which knowledge base (optional)
@@ -146,6 +147,10 @@ export interface KnowledgeBaseGenerated extends KnowledgeBaseDocument {
146
147
  * Generated AI will still return an response even if it didn't have an answer. True if it has the answer to the user's query.
147
148
  */
148
149
  hasAnswer?: boolean;
150
+ /**
151
+ * Generated AI suggested follow up queries.
152
+ */
153
+ suggestions?: SuggestionObjectTypes[];
149
154
  /**
150
155
  * Optional sources that the Generative AI used to generate the response. This is typically specific to type "retrieval-augmented-generation" where source material is used to generate the answer.
151
156
  */
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.59.59",
7
+ "version": "1.59.63",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -21,7 +21,7 @@
21
21
  "@rollup/plugin-typescript": "11.1.6",
22
22
  "@xapp/config": "0.2.3",
23
23
  "rollup": "3.29.4",
24
- "tslib": "2.6.2",
24
+ "tslib": "2.6.3",
25
25
  "typescript": "5.4.5"
26
26
  },
27
27
  "scripts": {
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.2"
35
35
  },
36
- "gitHead": "4e3e510e9f8279229f1f2a6ff19da36f296b4eaa"
36
+ "gitHead": "193f21ce6b9c1e6a656fb4844d759d15e5afe697"
37
37
  }