@wildix/wim-knowledge-base-client 0.0.25 → 0.0.26

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.
@@ -1034,9 +1034,11 @@ const se_ProxyConfig = (input, context) => {
1034
1034
  };
1035
1035
  const se_SearchConfig = (input, context) => {
1036
1036
  return (0, smithy_client_1.take)(input, {
1037
+ 'extendMetadata': [],
1037
1038
  'searchStrategy': [],
1038
1039
  'threshold': smithy_client_1.serializeFloat,
1039
1040
  'topK': [],
1041
+ 'useQueryOptimization': [],
1040
1042
  });
1041
1043
  };
1042
1044
  const de_Document = (output, context) => {
@@ -978,9 +978,11 @@ const se_ProxyConfig = (input, context) => {
978
978
  };
979
979
  const se_SearchConfig = (input, context) => {
980
980
  return take(input, {
981
+ 'extendMetadata': [],
981
982
  'searchStrategy': [],
982
983
  'threshold': __serializeFloat,
983
984
  'topK': [],
985
+ 'useQueryOptimization': [],
984
986
  });
985
987
  };
986
988
  const de_Document = (output, context) => {
@@ -42,6 +42,8 @@ declare const QueryKnowledgeBaseCommand_base: {
42
42
  * topK: Number("int"),
43
43
  * threshold: Number("double"),
44
44
  * searchStrategy: "bm25" || "vector" || "hybrid",
45
+ * useQueryOptimization: true || false,
46
+ * extendMetadata: true || false,
45
47
  * },
46
48
  * llmConfig: { // LlmConfig
47
49
  * provider: "STRING_VALUE",
@@ -42,6 +42,8 @@ declare const SearchKnowledgeBaseCommand_base: {
42
42
  * topK: Number("int"),
43
43
  * threshold: Number("double"),
44
44
  * searchStrategy: "bm25" || "vector" || "hybrid",
45
+ * useQueryOptimization: true || false,
46
+ * extendMetadata: true || false,
45
47
  * },
46
48
  * withMetadata: true || false,
47
49
  * };
@@ -1264,6 +1264,16 @@ export interface SearchConfig {
1264
1264
  * @public
1265
1265
  */
1266
1266
  searchStrategy?: SearchStrategy | undefined;
1267
+ /**
1268
+ * Whether to use the query transform to improve the search results. Example: true. The query transform will use the query to improve the search results.
1269
+ * @public
1270
+ */
1271
+ useQueryOptimization?: boolean | undefined;
1272
+ /**
1273
+ * Whether to extend the metadata of the search results. Example: true. The metadata will be extended with the additional information.
1274
+ * @public
1275
+ */
1276
+ extendMetadata?: boolean | undefined;
1267
1277
  }
1268
1278
  /**
1269
1279
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-knowledge-base-client",
3
3
  "description": "@wildix/wim-knowledge-base-client client",
4
- "version": "0.0.25",
4
+ "version": "0.0.26",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",