knowmax-quest-types 3.2.4 → 3.3.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.
@@ -1,8 +1,11 @@
1
+ import type { DocumentInsightResponseFormat } from '.';
1
2
  import type { IIntelligenceBaseOptions } from '.';
2
3
  export interface IIndexResearchOptions extends IIntelligenceBaseOptions {
3
4
  /** Azure AI Search filter expression to use for filtering the search results from which to extract the answer. */
4
5
  filter?: string;
5
6
  /** Set to attempt to determine intent of the question in order to add an extra filter to improve the quality of the answer. */
6
7
  filterIntent?: boolean;
8
+ /** Set to requested type to instruct AI model to format results. Empty for default (text). */
9
+ responseFormat?: DocumentInsightResponseFormat;
7
10
  }
8
11
  //# 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,kHAAkH;IAClH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,+HAA+H;IAC/H,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}
1
+ {"version":3,"file":"IIndexResearchOptions.d.ts","sourceRoot":"","sources":["../../src/IIndexResearchOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,GAAG,CAAA;AACtD,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;IAEpB,8FAA8F;IAChG,cAAc,CAAC,EAAE,6BAA6B,CAAA;CAC/C"}
@@ -8,6 +8,8 @@ export interface IIntelligenceBaseOptions {
8
8
  applicationName?: string;
9
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
10
  temporary?: boolean;
11
+ /** Set to test outcome without actually storing conversation or messages. Use to play what-if scenario on existing conversation like requesting possible follow-up questions. */
12
+ readOnly?: boolean;
11
13
  /** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
12
14
  ignoreConversation?: boolean;
13
15
  /** Optional conversation id to maintain context across multiple requests. */
@@ -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,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"}
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,iLAAiL;IACjL,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,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.2.4",
3
+ "version": "3.3.0",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -39,11 +39,11 @@
39
39
  "author": "Knowmax BV",
40
40
  "license": "MIT",
41
41
  "devDependencies": {
42
- "@jest/globals": "^30.0.3",
43
- "jest": "^30.0.3",
42
+ "@jest/globals": "^30.1.2",
43
+ "jest": "^30.1.3",
44
44
  "rimraf": "6.0.1",
45
- "ts-jest": "^29.4.0",
45
+ "ts-jest": "^29.4.4",
46
46
  "ts-node": "^10.9.2",
47
- "typescript": "5.8.3"
47
+ "typescript": "5.9.2"
48
48
  }
49
49
  }