Directories
¶
| Path | Synopsis |
|---|---|
|
Package ann is the dense (semantic) retriever.
|
Package ann is the dense (semantic) retriever. |
|
Package bm25 is the lexical (sparse) retriever — the bm25s-equivalent scorer plus the identifier-aware tokenizer that feeds it.
|
Package bm25 is the lexical (sparse) retriever — the bm25s-equivalent scorer plus the identifier-aware tokenizer that feeds it. |
|
Package chunk splits source files into retrieval units behind a runtime-selectable Chunker interface (see registry.go).
|
Package chunk splits source files into retrieval units behind a runtime-selectable Chunker interface (see registry.go). |
|
markdown
Package markdown is ken's documentation-aware chunker, registered as "markdown".
|
Package markdown is ken's documentation-aware chunker, registered as "markdown". |
|
regex
Package regex is the v1-default chunker (docs/DESIGN.md §2 Option C): one generic line-walking engine driven by per-language LanguageRules.
|
Package regex is the v1-default chunker (docs/DESIGN.md §2 Option C): one generic line-walking engine driven by per-language LanguageRules. |
|
treesitter
Package treesitter is ken's v0.2.0 chunker: a pure-Go tree-sitter runtime via github.com/odvcencio/gotreesitter, with chunk boundaries determined by the cAST split-then-merge algorithm (arXiv 2506.15655 — the same algorithm Chonkie uses).
|
Package treesitter is ken's v0.2.0 chunker: a pure-Go tree-sitter runtime via github.com/odvcencio/gotreesitter, with chunk boundaries determined by the cAST split-then-merge algorithm (arXiv 2506.15655 — the same algorithm Chonkie uses). |
|
Package embed implements Model2Vec inference: hand-rolled WordPiece tokenization, safetensors weight loading, weighted-mean pooling, and L2 normalization.
|
Package embed implements Model2Vec inference: hand-rolled WordPiece tokenization, safetensors weight loading, weighted-mean pooling, and L2 normalization. |
|
Package encoder loads and (in subsequent commits) runs the nomic-ai/CodeRankEmbed neural reranker as a pure-Go forward pass.
|
Package encoder loads and (in subsequent commits) runs the nomic-ai/CodeRankEmbed neural reranker as a pure-Go forward pass. |
|
gpu
module
|
|
|
Package topk is a min-heap-of-size-K selector for "keep the K highest-scoring items from a stream" without sorting the full input.
|
Package topk is a min-heap-of-size-K selector for "keep the K highest-scoring items from a stream" without sorting the full input. |
Click to show internal directories.
Click to hide internal directories.