Uses of Class
com.tnsai.knowledge.SearchResult
Packages that use SearchResult
Package
Description
Knowledge base abstraction for Retrieval-Augmented Generation (RAG).
Canonical RAG configuration and retrieval contracts.
-
Uses of SearchResult in com.tnsai.knowledge
Methods in com.tnsai.knowledge that return types with arguments of type SearchResultModifier and TypeMethodDescriptionSearches the knowledge base for relevant documents.Searches with metadata filtering.InMemoryKnowledgeBase.searchByEmbedding(float[] embedding, int topK) KnowledgeBase.searchByEmbedding(float[] embedding, int topK) Performs similarity search using a pre-computed embedding.Methods in com.tnsai.knowledge with parameters of type SearchResultModifier and TypeMethodDescriptionintSearchResult.compareTo(SearchResult other) Compares by score in descending order (highest score first). -
Uses of SearchResult in com.tnsai.rag
Method parameters in com.tnsai.rag with type arguments of type SearchResultModifier and TypeMethodDescriptionstatic StringRetrievedContextRenderer.render(String userMessage, List<SearchResult> results) Renders search results for a single outbound LLM request.