@equationalapplications/core-llm-wiki 4.17.3 → 4.18.1
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/README.md +5 -4
- package/dist/{chunk-AV2ZNKEA.mjs → chunk-V7QNRQFK.mjs} +2 -2
- package/dist/{chunk-AV2ZNKEA.mjs.map → chunk-V7QNRQFK.mjs.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +123 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +126 -38
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-D02cdI9A.d.mts → testing-BfxdUHg9.d.mts} +2 -0
- package/dist/{testing-D02cdI9A.d.ts → testing-BfxdUHg9.d.ts} +2 -0
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Platform-agnostic TypeScript engine for hybrid LLM memory. Features episodic fac
|
|
|
20
20
|
- **Immutable vs mutable facts** — Use `WikiFact.source_type` to distinguish document-sourced facts (`immutable_document`) from derived or user-provided facts (`librarian_inferred`, `user_stated`, `user_confirmed`). Immutable document facts are not rewritten by `runLibrarian()` or `runHeal()` and can only be removed by `forget()` or re-ingesting.
|
|
21
21
|
- **Full-featured memory** — Facts, tasks, events, maintenance jobs (librarian, heal, reembed, prune)
|
|
22
22
|
- **Type-safe** — Built with TypeScript, full type exports
|
|
23
|
-
- **Interoperability:** Supports [Open Knowledge Format (OKF) v0.1](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf) import and export.
|
|
23
|
+
- **Interoperability:** Supports [Open Knowledge Format (OKF) v0.1](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf) import and export via the [llm-wiki OKF profile (llm-wiki/1)](https://github.com/equationalapplications/expo-llm-wiki/blob/main/docs/okf-profile.md).
|
|
24
24
|
- **Per-entity seeded ontology** — Optional Strict, Emergent, or Off modes govern LLM graph extraction; seed taxonomies per entity and persist typed facts with inline edges.
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
@@ -584,10 +584,11 @@ await wiki.importDump(dump, { merge: true });
|
|
|
584
584
|
2. Directory convention (e.g., files in `/facts/` become facts, `/tasks/` become tasks).
|
|
585
585
|
3. The `OkfImportOptions.defaultSchema` (defaults to `'fact'`).
|
|
586
586
|
|
|
587
|
-
### WikiEdge and
|
|
587
|
+
### WikiEdge and the `## Related` Section
|
|
588
588
|
|
|
589
|
-
A `WikiEdge` represents a
|
|
590
|
-
|
|
589
|
+
A `WikiEdge` represents a directed link between two concepts (`source_id`, `target_id`, `edge_type`). In profile llm-wiki/1, edges are serialized in a trailing `## Related` section on each concept file. `parseOkfBundle()` extracts them into `WikiEdge` rows and strips the section from stored bodies; `formatOkfBundle()` emits the section from the `edges` array in the dump.
|
|
590
|
+
|
|
591
|
+
See [`docs/okf-profile.md`](https://github.com/equationalapplications/expo-llm-wiki/blob/main/docs/okf-profile.md) for the full normative spec and [`packages/okf/fixtures/`](https://github.com/equationalapplications/expo-llm-wiki/tree/main/packages/okf/fixtures) for conformance bundles.
|
|
591
592
|
|
|
592
593
|
### The `okf_type` Field
|
|
593
594
|
|
|
@@ -2816,5 +2816,5 @@ var WriteService = class {
|
|
|
2816
2816
|
};
|
|
2817
2817
|
|
|
2818
2818
|
export { EmbeddingService, HOOK_TIMEOUT_MARKER, ImportExportService, IngestionService, JobManager, MaintenanceService, PromptService, PrunePartialFailureError, RetrievalService, SearchService, WikiBusyError, WriteService, __privateAdd, __privateGet, __privateSet, configureRandomSource, emptyManifest, generateId, mergeOntologyUpdates, normalizeSourceHash, normalizeSourceRef, normalizeTitleKey, parseEmbedding, resolveEdgeDefinition, resolveNodeType, validateInlineEdges, validateManifest };
|
|
2819
|
-
//# sourceMappingURL=chunk-
|
|
2820
|
-
//# sourceMappingURL=chunk-
|
|
2819
|
+
//# sourceMappingURL=chunk-V7QNRQFK.mjs.map
|
|
2820
|
+
//# sourceMappingURL=chunk-V7QNRQFK.mjs.map
|