@remnic/core 9.3.594 → 9.3.595
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/access-cli.js +1 -1
- package/dist/{chunk-7WU3FML2.js → chunk-JIBCUYIP.js} +2 -2
- package/dist/{chunk-7WU3FML2.js.map → chunk-JIBCUYIP.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/orchestrator.js +1 -1
- package/package.json +1 -1
- package/src/dedup/semantic.test.ts +33 -0
- package/src/dedup/semantic.ts +7 -1
package/dist/access-cli.js
CHANGED
|
@@ -629,7 +629,7 @@ async function decideSemanticDedup(content, lookup, options) {
|
|
|
629
629
|
}
|
|
630
630
|
let top;
|
|
631
631
|
for (const hit of hits) {
|
|
632
|
-
if (!hit || typeof hit.score !== "number" || !Number.isFinite(hit.score)) {
|
|
632
|
+
if (!hit || typeof hit.id !== "string" || hit.id.trim().length === 0 || typeof hit.score !== "number" || !Number.isFinite(hit.score)) {
|
|
633
633
|
continue;
|
|
634
634
|
}
|
|
635
635
|
if (!top || hit.score > top.score) {
|
|
@@ -12405,4 +12405,4 @@ export {
|
|
|
12405
12405
|
resolvePersistedMemoryRelativePath,
|
|
12406
12406
|
Orchestrator
|
|
12407
12407
|
};
|
|
12408
|
-
//# sourceMappingURL=chunk-
|
|
12408
|
+
//# sourceMappingURL=chunk-JIBCUYIP.js.map
|