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