@knolo/llamaindex
LlamaIndex-style retrieval adapter for Knolo knowledge packs.
npm install @knolo/llamaindex @knolo/core
import { KnoLoRetriever } from '@knolo/llamaindex';
const retriever = new KnoLoRetriever({
packPath: './dist/knowledge.knolo',
topK: 5,
});
const results = await retriever.retrieve('billing policy');
This package is 6.2.0 and depends on @knolo/core ^6.0.0. It does not
implement composition. The adapter preserves Knolo’s deterministic V4 retrieval
API. V5 Knowledge Image inspection, verification, migration, and runtime
management are exposed by @knolo/core
and @knolo/cli. Composition is
@knolo/core/composition. Cortex is @knolo/core/cortex. @knolo/cli 6.2.0 depends on @knolo/core
^6.2.0.
For a mounted V5 image, pass image (or a Node imagePath) to the retriever.
The adapter uses bounded V5 EQL search and includes the image state root, query
plan root, query result root, object ID, and compatibility marker in node
metadata. Legacy pack/packPath retrieval remains unchanged.
License
Apache-2.0