Skip to main content
This page follows the project’s own status table. A feature listed as not built has a design but no code.

What is built

What is not built

Context summaries

Context.label stays stable. Context.description is meant to become a summary that tracks the current members. A model would rewrite it from the descriptions of the concepts placed directly in the context and the summaries of its child contexts. The design:
  • The summary call never receives source text, so a summary does not touch evidence.
  • Each summary is rewritten from the current members only, never from the previous summary, so errors do not accumulate.
  • A stored hash of the inputs (summary_hash) lets a rebuild with the same members reuse the stored text, which keeps a rebuild repeatable.
  • A change moves up the tree: a new concept marks its context and each ancestor stale, and they are refreshed bottom-up outside the write transaction.
  • A context with very many members needs chunked summarizing.
None of this exists in code. There is no summary_hash column and no refresh step. Today a context’s description is written when the context is created.

Known risks

  1. Wrong placement at build time. If a concept is placed under the wrong context, routing may never reach it. Entry at every depth gives a second route, but only if the node scores.
  2. Unequal depth. Depth is open per branch, so “level 2” is not the same granularity everywhere.
  3. Summary quality. A summary of weak descriptions is weak, and weak models produce weak words and few relations on real documents.
  4. Duplicate contexts. The same topic under two labels splits its concepts. Draft contexts need a human merge.
  5. Decider consistency. Scores across levels may not be calibrated. min_route and min_score are tuned values, not constants.
  6. Wide contexts. Judging 50 children of one context is costly. max_options cuts by cosine.
  7. Cost and latency. Each level costs a decider call. Measure on your own question set before relying on an estimate.
Open decisions: which embedder (it sets the vector size), which decider, and how to tune the search parameters on an evaluation question set.

Further reading

  • Malkov and Yashunin, HNSW, arXiv 1603.09320. A node’s layer is drawn at random, so those layers carry no meaning. The index’s semantic depth is a different thing, and the two must not be confused.
  • Sarthi et al., RAPTOR, arXiv 2401.18059. A recursive summary tree and the “collapsed tree” retrieval result. RAPTOR’s nodes are summaries of document chunks, not concepts, so its numbers are a prior, not a promise.
  • LadybugDB vector extension. HNSW index functions and filtered search through projected graphs.