stentor-models 1.57.150 → 1.57.152

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.
@@ -19,12 +19,17 @@ export interface KnowledgeBaseService {
19
19
  * @param query - Query to search within the knowledge base, typically a user's question.
20
20
  * @return Knowledge Base result with either FAQs, suggested, or documents.
21
21
  */
22
- query(query: string): Promise<KnowledgeBaseResult>;
22
+ query(query: string, options?: {
23
+ controller?: AbortController;
24
+ }): Promise<KnowledgeBaseResult>;
23
25
  /**
24
26
  * Retrieval Augmented Generation Response
25
27
  *
26
28
  * @beta
27
29
  * @param query
28
30
  */
29
- rag?(query: string): Promise<KnowledgeBaseServiceRAGResult>;
31
+ rag?(query: string, options?: {
32
+ controller?: AbortController;
33
+ temperature?: number;
34
+ }): Promise<KnowledgeBaseServiceRAGResult>;
30
35
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.57.150",
7
+ "version": "1.57.152",
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.1"
35
35
  },
36
- "gitHead": "c1194698d3e9997fe2391a2adc3d2694a6aebceb"
36
+ "gitHead": "0616b9c9df113625b6964a6846143fda5b0c4a82"
37
37
  }