knowmax-quest-types 3.0.0 → 3.1.0
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.
- package/dist/types/IDocumentInsightOptions.d.ts.map +1 -1
- package/dist/types/IIndexResearchOptions.d.ts +3 -1
- package/dist/types/IIndexResearchOptions.d.ts.map +1 -1
- package/dist/types/IIntelligenceBaseOptions.d.ts +4 -2
- package/dist/types/IIntelligenceBaseOptions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDocumentInsightOptions.d.ts","sourceRoot":"","sources":["../../src/IDocumentInsightOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,oBAAY,6BAA6B;IAAG,IAAI,SAAS;IAAE,IAAI,SAAS;CAAE;AAE1E,wDAAwD;AACxD,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,uMAAuM;IACvM,cAAc,CAAC,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"IDocumentInsightOptions.d.ts","sourceRoot":"","sources":["../../src/IDocumentInsightOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,oBAAY,6BAA6B;IAAG,IAAI,SAAS;IAAE,IAAI,SAAS;CAAE;AAE1E,wDAAwD;AACxD,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,uMAAuM;IACvM,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,6BAA6B,CAAA;CAC/C"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { IIntelligenceBaseOptions } from '.';
|
|
2
2
|
export interface IIndexResearchOptions extends IIntelligenceBaseOptions {
|
|
3
|
-
/** Azure AI Search filter to use for
|
|
3
|
+
/** Azure AI Search filter expression to use for filtering the search results from which to extract the answer. */
|
|
4
4
|
filter?: string;
|
|
5
|
+
/** Set to attempt to determine intent of the question in order to add an extra filter to improve the quality of the answer. */
|
|
6
|
+
filterIntent?: boolean;
|
|
5
7
|
}
|
|
6
8
|
//# sourceMappingURL=IIndexResearchOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIndexResearchOptions.d.ts","sourceRoot":"","sources":["../../src/IIndexResearchOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,+
|
|
1
|
+
{"version":3,"file":"IIndexResearchOptions.d.ts","sourceRoot":"","sources":["../../src/IIndexResearchOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,kHAAkH;IAClH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,+HAA+H;IAC/H,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
|
|
@@ -6,11 +6,13 @@ export interface IIntelligenceBaseOptions {
|
|
|
6
6
|
indexDefinitionName?: string;
|
|
7
7
|
/** Used to determine intelligence model for application if intelligenceModelLabel is not provided. */
|
|
8
8
|
applicationName?: string;
|
|
9
|
+
/** Set if conversation that will be created for this request is ment to be temporary and thus should be deleted soon after use. */
|
|
10
|
+
temporary?: boolean;
|
|
11
|
+
/** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
|
|
12
|
+
ignoreConversation?: boolean;
|
|
9
13
|
/** Optional conversation id to maintain context across multiple requests. */
|
|
10
14
|
conversationId?: string;
|
|
11
15
|
/** Array of chat messages to use for this request. */
|
|
12
16
|
chatMessages: IIntelligenceChatMessage[];
|
|
13
|
-
/** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
|
|
14
|
-
ignoreConversation?: boolean;
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=IIntelligenceBaseOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIntelligenceBaseOptions.d.ts","sourceRoot":"","sources":["../../src/IIntelligenceBaseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,wBAAwB;IACvC,sIAAsI;IACtI,sBAAsB,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IIntelligenceBaseOptions.d.ts","sourceRoot":"","sources":["../../src/IIntelligenceBaseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,MAAM,WAAW,wBAAwB;IACvC,sIAAsI;IACtI,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAE/B,wHAAwH;IACxH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B,uGAAuG;IACvG,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,mIAAmI;IACnI,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,oHAAoH;IACpH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,uDAAuD;IACvD,YAAY,EAAE,wBAAwB,EAAE,CAAA;CACzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "knowmax-quest-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Contains type definitions for communicating with Knowmax Quest.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"author": "Knowmax BV",
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@jest/globals": "^30.0.
|
|
43
|
-
"jest": "^30.0.
|
|
42
|
+
"@jest/globals": "^30.0.3",
|
|
43
|
+
"jest": "^30.0.3",
|
|
44
44
|
"rimraf": "6.0.1",
|
|
45
45
|
"ts-jest": "^29.4.0",
|
|
46
46
|
"ts-node": "^10.9.2",
|