Uses of Record Class
com.tnsai.intelligence.rag.RAGContext
Packages that use RAGContext
-
Uses of RAGContext in com.tnsai.intelligence.rag
Methods in com.tnsai.intelligence.rag that return RAGContextModifier and TypeMethodDescriptionRAGPipeline.defaultContext()Returns the default context used when none is specified.RAGContext.withMaxResults(int maxResults) Returns a new context with an updated max results value.RAGContext.withMetadataFilters(Map<String, String> filters) Returns a new context with the given metadata filters.RAGContext.withMinScore(double minScore) Returns a new context with an updated minimum score threshold.Methods in com.tnsai.intelligence.rag with parameters of type RAGContextModifier and TypeMethodDescriptionRAGPipeline.Builder.defaultContext(RAGContext context) Sets the default retrieval context.RAGPipeline.execute(String query, RAGContext context) Executes the full RAG pipeline with a custom context and returns the formatted context string.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).