Expand description
Retrieval Objective implementations for khive-runtime.
Domain-specific objectives that operate on pre-computed retrieval signals. Pure math: no IO, no async. The runtime layer materialises the signal data and feeds it in via the candidate struct.
See ADR-061 — Retrieval Infrastructure.
Structs§
- Graph
Proximity Objective - Scores a candidate by graph proximity to anchor nodes.
- Retrieval
Candidate - Pre-computed retrieval signals for a single candidate entity.
- RrfFusion
Objective - Scores a candidate by its pre-computed RRF fusion score.
- Text
Relevance Objective - Scores a candidate by BM25/FTS relevance.
- Vector
Similarity Objective - Scores a candidate by cosine similarity to the query vector.