Uses of Record Class
com.tnsai.intelligence.rag.RetrievedDocument
Packages that use RetrievedDocument
Package
Description
RAG (Retrieval-Augmented Generation) strategy SPI.
Hierarchical retrieval metadata and index contracts.
Canonical timestamp metadata and validated indexing for temporal RAG.
-
Uses of RetrievedDocument in com.tnsai.intelligence.rag
Methods in com.tnsai.intelligence.rag that return types with arguments of type RetrievedDocumentModifier and TypeMethodDescriptionReranker.Request.documents()Returns the value of thedocumentsrecord component.Reranker.rerank(Reranker.Request request) Reranks retrieved candidates for the original user query.GraphRAGStrategy.retrieve(String query, RAGContext context) HierarchicalRAGStrategy.retrieve(String query, RAGContext context) HybridRAGStrategy.retrieve(String query, RAGContext context) KeywordRAGStrategy.retrieve(String query, RAGContext context) MultiQueryRAGStrategy.retrieve(String query, RAGContext context) RAGStrategy.retrieve(String query, RAGContext context) Retrieves documents relevant to the given query.ReasoningRAGStrategy.retrieve(String query, RAGContext context) TemporalRAGStrategy.retrieve(String query, RAGContext context) VectorRAGStrategy.retrieve(String query, RAGContext context) RAGPipeline.retrieveDocuments(String query, RAGContext context) Executes the pipeline and returns the raw retrieved documents (after reranking).Method parameters in com.tnsai.intelligence.rag with type arguments of type RetrievedDocumentModifier and TypeMethodDescriptionRAGPipeline.Builder.reranker(UnaryOperator<List<RetrievedDocument>> reranker) Sets a reranker that can reorder or filter retrieved documents.Constructor parameters in com.tnsai.intelligence.rag with type arguments of type RetrievedDocumentModifierConstructorDescriptionRequest(String query, List<RetrievedDocument> documents, String model, int topN) Creates a validated immutable request. -
Uses of RetrievedDocument in com.tnsai.intelligence.rag.binding
Methods in com.tnsai.intelligence.rag.binding that return types with arguments of type RetrievedDocument -
Uses of RetrievedDocument in com.tnsai.intelligence.rag.hierarchy
Methods in com.tnsai.intelligence.rag.hierarchy that return types with arguments of type RetrievedDocumentModifier and TypeMethodDescriptionHierarchyIndex.documents()Returns the source documents in declaration order.Resolves a document by hierarchy ID.Methods in com.tnsai.intelligence.rag.hierarchy with parameters of type RetrievedDocumentModifier and TypeMethodDescriptionHierarchyIndex.identifier(RetrievedDocument document) Resolves the canonical hierarchy ID for a document.HierarchyIndex.sourceGroup(RetrievedDocument document) Resolves the canonical source group used for source fencing.Constructor parameters in com.tnsai.intelligence.rag.hierarchy with type arguments of type RetrievedDocumentModifierConstructorDescriptionHierarchyIndex(List<RetrievedDocument> documents) Creates an index over hierarchy documents. -
Uses of RetrievedDocument in com.tnsai.intelligence.rag.temporal
Methods in com.tnsai.intelligence.rag.temporal that return types with arguments of type RetrievedDocumentModifier and TypeMethodDescriptionTemporalIndex.documents()Returns the source documents in declaration order.Resolves an indexed document by entry ID.Methods in com.tnsai.intelligence.rag.temporal with parameters of type RetrievedDocumentModifier and TypeMethodDescriptionTemporalIndex.identifier(RetrievedDocument document) Resolves the canonical entry ID carried by a child hit.TemporalIndex.sourceGroup(RetrievedDocument document) Resolves the source group used for source fencing.Constructor parameters in com.tnsai.intelligence.rag.temporal with type arguments of type RetrievedDocumentModifierConstructorDescriptionTemporalIndex(List<RetrievedDocument> documents) Creates an index over documents carrying temporal metadata.