stentor-models 1.57.127 → 1.57.131
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.
|
@@ -118,17 +118,37 @@ export interface KnowledgeBaseFAQ {
|
|
|
118
118
|
*/
|
|
119
119
|
handlerId?: string;
|
|
120
120
|
}
|
|
121
|
+
export interface KnowledgeBaseGenerated extends KnowledgeBaseDocument {
|
|
122
|
+
/**
|
|
123
|
+
* The generated text from the LLM
|
|
124
|
+
*/
|
|
125
|
+
generated: string;
|
|
126
|
+
/**
|
|
127
|
+
* Optional, the source LLM of the generated answer.
|
|
128
|
+
*/
|
|
129
|
+
llm?: string;
|
|
130
|
+
}
|
|
121
131
|
export interface KnowledgeBaseResult {
|
|
122
132
|
/**
|
|
123
|
-
* A ML powered answer
|
|
133
|
+
* A list of ML powered answer found in specific documents.
|
|
134
|
+
*
|
|
135
|
+
* This corresponds with results such as the Kendra Suggested answer. They use some ML model to attempt to pinpoint exactly within
|
|
124
136
|
*/
|
|
125
137
|
suggested?: KnowledgeBaseSuggested[];
|
|
126
138
|
/**
|
|
127
139
|
* List of FAQs that could match the query.
|
|
140
|
+
*
|
|
141
|
+
* The source of these answers are from a database of existing FAQs.
|
|
128
142
|
*/
|
|
129
143
|
faqs?: KnowledgeBaseFAQ[];
|
|
130
144
|
/**
|
|
131
145
|
* A list of results based on perceived relevance.
|
|
146
|
+
*
|
|
147
|
+
* The source of this is a set corpus
|
|
132
148
|
*/
|
|
133
149
|
documents?: KnowledgeBaseDocument[];
|
|
150
|
+
/**
|
|
151
|
+
* A list of generated answers from a large language model.
|
|
152
|
+
*/
|
|
153
|
+
generated?: KnowledgeBaseGenerated[];
|
|
134
154
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.57.
|
|
7
|
+
"version": "1.57.131",
|
|
8
8
|
"description": "Models for 📣 stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": "^12 || ^14 || ^16 || ^18"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@microsoft/api-extractor": "7.34.
|
|
20
|
+
"@microsoft/api-extractor": "7.34.9",
|
|
21
21
|
"@rollup/plugin-typescript": "11.1.0",
|
|
22
22
|
"@xapp/config": "0.2.3",
|
|
23
23
|
"rollup": "3.21.6",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@xapp/patterns": "2.0.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "38d742a276a738c3884ed50898b61904d4480e79"
|
|
37
37
|
}
|