Skip to main content

Module feedback_loop

Module feedback_loop 

Source
Expand description

Semantic Feedback Loop — relevance feedback collection and query re-ranking.

Collects explicit and implicit relevance signals from users and uses them to adjust future search rankings through query expansion and score boosting.

Structs§

BoostRecord
Cumulative boost information for a single result document.
FeedbackEntry
A single feedback record submitted by a user for a query–document pair.
FeedbackLoopStats
Aggregate statistics across all feedback entries in the loop.
FeedbackStats
Aggregate statistics across all queries and signals.
QueryFeedback
All feedback signals collected for a single query.
QueryFeedbackSummary
Aggregated feedback statistics for a single query.
SemanticFeedbackLoop
Core feedback-loop engine.

Enums§

FeedbackSignal
A single relevance signal emitted by a user (explicit or implicit).
FeedbackType
Classification of a search result’s relevance as judged by a user.

Functions§

fnv1a_64
Compute the FNV-1a 64-bit hash of an arbitrary byte slice.
query_id_for
Compute the query-id (FNV-1a hash) for an arbitrary query string.