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
module
|
|
|
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. |
|
Package fuse combines multiple ranked result lists into one — the reusable primitive behind hybrid search (e.g.
|
Package fuse combines multiple ranked result lists into one — the reusable primitive behind hybrid search (e.g. |
|
gpu
module
|
|
|
Package linalg holds aikit's shared SIMD compute kernels: the dot-product kernels (AVX2+FMA on amd64, NEON on arm64, scalar elsewhere — selected by build tag and runtime CPU detection) and a row-parallel float32 matmul built on them.
|
Package linalg holds aikit's shared SIMD compute kernels: the dot-product kernels (AVX2+FMA on amd64, NEON on arm64, scalar elsewhere — selected by build tag and runtime CPU detection) and a row-parallel float32 matmul built on them. |
|
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.