@kortexya/reasoninglayer 0.2.6 → 0.2.8
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/index.cjs +2 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +579 -314
- package/dist/index.d.ts +579 -314
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/config.ts
|
|
4
|
-
var SDK_VERSION = "0.2.
|
|
4
|
+
var SDK_VERSION = "0.2.8";
|
|
5
5
|
function resolveConfig(config) {
|
|
6
6
|
if (!config.baseUrl) {
|
|
7
7
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -8645,13 +8645,7 @@ var FuzzyClient = class {
|
|
|
8645
8645
|
* @returns Top-K results sorted by similarity degree.
|
|
8646
8646
|
*/
|
|
8647
8647
|
async searchTopK(request) {
|
|
8648
|
-
const response = await this.api.
|
|
8649
|
-
path: "/api/v1/fuzzy/top-k",
|
|
8650
|
-
method: "POST",
|
|
8651
|
-
body: request,
|
|
8652
|
-
type: "application/json" /* Json */,
|
|
8653
|
-
format: "json"
|
|
8654
|
-
});
|
|
8648
|
+
const response = await this.api.fuzzySearchTopK(request);
|
|
8655
8649
|
return response.data;
|
|
8656
8650
|
}
|
|
8657
8651
|
/**
|