@kortexya/reasoninglayer 0.5.0 → 0.7.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/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -29
- package/dist/index.d.ts +29 -29
- package/dist/index.js +8 -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.
|
|
4
|
+
var SDK_VERSION = "0.7.0";
|
|
5
5
|
function resolveConfig(config) {
|
|
6
6
|
if (!config.baseUrl) {
|
|
7
7
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -8484,7 +8484,7 @@ var QueryClient = class {
|
|
|
8484
8484
|
/**
|
|
8485
8485
|
* Execute an Order-Sorted Feature search.
|
|
8486
8486
|
*
|
|
8487
|
-
* @param request -
|
|
8487
|
+
* @param request - Structured search request with pattern. Features can be plain JS values.
|
|
8488
8488
|
* @returns Structured search results including entities, relations, and suspended query information.
|
|
8489
8489
|
*
|
|
8490
8490
|
* @remarks
|
|
@@ -8560,7 +8560,7 @@ var QueryClient = class {
|
|
|
8560
8560
|
* Search for records matching a pattern with type-aware matching.
|
|
8561
8561
|
* Alias for {@link osfSearch} using friendlier naming.
|
|
8562
8562
|
*
|
|
8563
|
-
* @param request -
|
|
8563
|
+
* @param request - Structured search request with pattern.
|
|
8564
8564
|
* @returns Structured search results including entities, relations, and suspended query information.
|
|
8565
8565
|
*
|
|
8566
8566
|
* @see osfSearch
|
|
@@ -10230,7 +10230,7 @@ var VisualizationClient = class {
|
|
|
10230
10230
|
return response.data;
|
|
10231
10231
|
}
|
|
10232
10232
|
/**
|
|
10233
|
-
* Generate a hypergraph visualization of
|
|
10233
|
+
* Generate a hypergraph visualization of Psi-terms.
|
|
10234
10234
|
*
|
|
10235
10235
|
* @param request - Hypergraph request with root term and traversal options.
|
|
10236
10236
|
* @returns Hypergraph with graph, stats, components, and degree distribution.
|
|
@@ -12239,7 +12239,7 @@ var SyntheticClient = class {
|
|
|
12239
12239
|
* @throws {ApiError} If the request fails.
|
|
12240
12240
|
*
|
|
12241
12241
|
* @remarks
|
|
12242
|
-
* Uses
|
|
12242
|
+
* Uses ontology-aware verification with Wu-Palmer sort similarity, feature-level comparison
|
|
12243
12243
|
* with type-aware value similarity, and Hungarian algorithm for optimal entity matching.
|
|
12244
12244
|
*
|
|
12245
12245
|
* Requires X-Tenant-Id header (set via client configuration).
|
|
@@ -12908,7 +12908,7 @@ var OntologyClient = class {
|
|
|
12908
12908
|
this.api = api;
|
|
12909
12909
|
}
|
|
12910
12910
|
/**
|
|
12911
|
-
* Generate
|
|
12911
|
+
* Generate a scenario from a natural language task description.
|
|
12912
12912
|
*
|
|
12913
12913
|
* @param request - Generation parameters including the prompt and optional clarification answers.
|
|
12914
12914
|
* @returns Either clarification questions (status `"needs_clarification"`) or the generated scenario (status `"complete"`).
|
|
@@ -13755,7 +13755,7 @@ var ReasoningLayerClient = class {
|
|
|
13755
13755
|
terms;
|
|
13756
13756
|
/** Inference engine operations (backward/forward chaining, fuzzy, Bayesian, NAF). */
|
|
13757
13757
|
inference;
|
|
13758
|
-
/** Query operations (unification,
|
|
13758
|
+
/** Query operations (unification, structured search, validation). */
|
|
13759
13759
|
query;
|
|
13760
13760
|
/** Cognitive agent operations (BDI cycle, beliefs, goals, messaging). */
|
|
13761
13761
|
cognitive;
|
|
@@ -13835,7 +13835,7 @@ var ReasoningLayerClient = class {
|
|
|
13835
13835
|
rag;
|
|
13836
13836
|
/** Linear program optimization (CLP(Q) simplex solver via backward chaining). */
|
|
13837
13837
|
optimize;
|
|
13838
|
-
/** OSFQL
|
|
13838
|
+
/** OSFQL execution operations. */
|
|
13839
13839
|
osfql;
|
|
13840
13840
|
/** Conversational AI operations (NL → OSFQL with self-correction). */
|
|
13841
13841
|
conversation;
|