IDocumentScoringService
IDocumentScoringService interface documentation
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);
Related Interfaces
- Service Interfaces - Browse all service interfaces
- API Reference - Back to API Reference index