IDocumentScoringService

Purpose: Service for scoring document chunks based on query relevance

Namespace: SmartRAG.Interfaces.Document

Hybrid scoring strategy with keyword and semantic relevance.

Methods

List<DocumentChunk> ScoreChunks(List<DocumentChunk> chunks, string query, List<string> queryWords, List<string> potentialNames);
double CalculateKeywordRelevanceScore(string query, string content);