Package com.tnsai.server.rag.retrieval
package com.tnsai.server.rag.retrieval
-
ClassDescriptionBM25-based keyword retrieval, bounded by a Caffeine LRU cache (issue #36).Combines multiple
RetrievalStreams using Reciprocal Rank Fusion (RRF).Wraps the existingKnowledgeBaseTF-IDF search as aRetrievalStream.A pluggable retrieval stream that ranks documents for a query.