mindgraph 0.8.0 → 0.9.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.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -81,12 +81,20 @@ interface EnrichedSearchResponse {
|
|
|
81
81
|
chunks: SearchChunk[];
|
|
82
82
|
}
|
|
83
83
|
interface PathStep {
|
|
84
|
-
|
|
84
|
+
node_uid: string;
|
|
85
85
|
label: string;
|
|
86
86
|
node_type: string;
|
|
87
87
|
edge_type: string | null;
|
|
88
88
|
depth: number;
|
|
89
89
|
parent_uid: string | null;
|
|
90
|
+
/** Min-plus cost of the returned BFS path from the start node
|
|
91
|
+
* (sum of -ln(weight), weights clamped to (1e-9, 1]); cost of the path
|
|
92
|
+
* the traversal returned, not the cheapest path. 0 at the start node. */
|
|
93
|
+
path_cost?: number;
|
|
94
|
+
/** Product of edge confidences along the returned BFS path (clamped to
|
|
95
|
+
* (1e-9, 1]); a ranking signal, not a calibrated probability. 1 at the
|
|
96
|
+
* start node. */
|
|
97
|
+
path_confidence?: number;
|
|
90
98
|
}
|
|
91
99
|
interface PersonProps {
|
|
92
100
|
canonical_name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -81,12 +81,20 @@ interface EnrichedSearchResponse {
|
|
|
81
81
|
chunks: SearchChunk[];
|
|
82
82
|
}
|
|
83
83
|
interface PathStep {
|
|
84
|
-
|
|
84
|
+
node_uid: string;
|
|
85
85
|
label: string;
|
|
86
86
|
node_type: string;
|
|
87
87
|
edge_type: string | null;
|
|
88
88
|
depth: number;
|
|
89
89
|
parent_uid: string | null;
|
|
90
|
+
/** Min-plus cost of the returned BFS path from the start node
|
|
91
|
+
* (sum of -ln(weight), weights clamped to (1e-9, 1]); cost of the path
|
|
92
|
+
* the traversal returned, not the cheapest path. 0 at the start node. */
|
|
93
|
+
path_cost?: number;
|
|
94
|
+
/** Product of edge confidences along the returned BFS path (clamped to
|
|
95
|
+
* (1e-9, 1]); a ranking signal, not a calibrated probability. 1 at the
|
|
96
|
+
* start node. */
|
|
97
|
+
path_confidence?: number;
|
|
90
98
|
}
|
|
91
99
|
interface PersonProps {
|
|
92
100
|
canonical_name: string;
|