Documentation
¶
Overview ¶
Package ragkit provides repository-wide generation metadata for logcopter.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package digest provides deterministic SHA-256 identities for bytes, text, and JSON-serializable values.
|
Package digest provides deterministic SHA-256 identities for bytes, text, and JSON-serializable values. |
|
internal
|
|
|
fsutil
Package fsutil provides private durable-file and lexical path primitives shared by experiment infrastructure.
|
Package fsutil provides private durable-file and lexical path primitives shared by experiment infrastructure. |
|
jsonutil
Package jsonutil provides strict JSON syntax mechanics shared by internal caches and experiment commands.
|
Package jsonutil provides strict JSON syntax mechanics shared by internal caches and experiment commands. |
|
Package rag defines the small, typed building blocks used by RAG experiments.
|
Package rag defines the small, typed building blocks used by RAG experiments. |
|
answering
Package answering composes retrieval, context construction, generation, and grounded-answer validation into one observable RAG operation.
|
Package answering composes retrieval, context construction, generation, and grounded-answer validation into one observable RAG operation. |
|
chunking
Package chunking provides source-preserving chunk implementations.
|
Package chunking provides source-preserving chunk implementations. |
|
content
Package content defines bounded source-content lookup used by serving retrieval indexes.
|
Package content defines bounded source-content lookup used by serving retrieval indexes. |
|
content/sqlite
Package sqlite implements the immutable read-only content store used by a serving bundle.
|
Package sqlite implements the immutable read-only content store used by a serving bundle. |
|
dataset
Package dataset loads the two supported experiment input shapes into the small, provider-independent RAG domain types.
|
Package dataset loads the two supported experiment input shapes into the small, provider-independent RAG domain types. |
|
embedding
Package embedding provides embedding helpers and deterministic local embeddings for reproducible examples.
|
Package embedding provides embedding helpers and deterministic local embeddings for reproducible examples. |
|
evaluation
Package evaluation computes transparent per-query retrieval metrics.
|
Package evaluation computes transparent per-query retrieval metrics. |
|
flowpolicy
Package flowpolicy contains ragkit-specific policy for Flowkit runs.
|
Package flowpolicy contains ragkit-specific policy for Flowkit runs. |
|
generation
Package generation provides small generation helpers and deterministic providers for self-contained experiments.
|
Package generation provides small generation helpers and deterministic providers for self-contained experiments. |
|
gochunk
Package gochunk converts committed Go source files into source-preserving RAG chunks and declaration metadata.
|
Package gochunk converts committed Go source files into source-preserving RAG chunks and declaration metadata. |
|
indexbundle
Package indexbundle builds and opens immutable, identity-checked persistent retrieval indexes.
|
Package indexbundle builds and opens immutable, identity-checked persistent retrieval indexes. |
|
lexical
Package lexical provides an in-memory BM25 correctness baseline.
|
Package lexical provides an in-memory BM25 correctness baseline. |
|
lexical/bleve
Package bleve provides a persistent Bleve BM25 index.
|
Package bleve provides a persistent Bleve BM25 index. |
|
provider/geppetto
Package geppetto adapts configured Geppetto model-service providers to ragkit's retrieval-domain interfaces.
|
Package geppetto adapts configured Geppetto model-service providers to ragkit's retrieval-domain interfaces. |
|
representations
Package representations generates non-raw searchable representations of chunks: summaries and synthetic questions.
|
Package representations generates non-raw searchable representations of chunks: summaries and synthetic questions. |
|
reranking
Package reranking provides reranker helpers and deterministic baselines.
|
Package reranking provides reranker helpers and deterministic baselines. |
|
retrieval
Package retrieval provides collapse, fusion, and source hydration.
|
Package retrieval provides collapse, fusion, and source hydration. |
|
vector
Package vector provides an exact cosine-search correctness oracle.
|
Package vector provides an exact cosine-search correctness oracle. |
|
vector/hnswcandidate
Package hnswcandidate provides a deterministic in-memory HNSW candidate index over generic RAG vector records.
|
Package hnswcandidate provides a deterministic in-memory HNSW candidate index over generic RAG vector records. |
|
vector/sqliteexact
Package sqliteexact provides persistent exhaustive cosine vector search.
|
Package sqliteexact provides persistent exhaustive cosine vector search. |
|
Package text provides small deterministic text-analysis primitives shared by local experiment baselines.
|
Package text provides small deterministic text-analysis primitives shared by local experiment baselines. |
|
Package vector provides deterministic numerical operations for float32 embedding vectors.
|
Package vector provides deterministic numerical operations for float32 embedding vectors. |
Click to show internal directories.
Click to hide internal directories.