← All extensions
Knowledge
ivyx✓
Defines what a knowledge base contains and keeps its index current
Knowledge
A knowledge base is a name, a set of files and an index. This extension lets you define the first two, keeps the third current, and lets you ask the result a question and read what came back.
What you can do
- Define a base by naming the files it holds, in a workspace file a team can review in a diff.
- Preview which files the patterns pick up before anything is built.
- Build the base, which splits, embeds and stores everything the patterns name.
- See how many chunks and files each base holds, its disk use, and its last build.
- Ask a base a question and read the passages that came back, with their scores and their files.
- Compare how a base's first file splits under four strategies, side by side.
- Clear a base's index when you want to start over.
Getting started
- Install Vectors first.
- Open Knowledge with Open Knowledge from the command palette, or from the Data & Knowledge stage in the LLMOps designer.
- Click Define one. That writes a first base covering the markdown files in
your workspace into
.punica/knowledge.json, which you can edit to point it at what you actually want indexed. - Click Preview paths to see which files the patterns resolve to, then Build.
- Type a question in the box and press Enter.
Requirements
- Vectors, which is where the embedding and the index live. Nothing here works without it. Choosing a split strategy for a base needs Vectors 1.4.7 or newer.
- For results worth judging, a real embedding model set in Vectors. Vectors starts with a hashing embedder that works offline and matches shared words rather than meaning, which is enough to prove the pipeline runs.
Good to know
- Every answer says whether its passages came from the index or from a keyword search, so a keyword match is never presented as a semantic one.
- A build whose patterns match no files is refused rather than run, and the panel names the patterns that matched nothing, so a typo cannot silently clear an index.
- Compare splits shows chunk counts and sizes only. Nothing is embedded, so it cannot tell you which split retrieves better.
Status
- Retrieval quality is not scored here. That is the RAG eval engine's job.