Interface BaseRetriever

All Known Implementing Classes:
SelfQueryRetriever, VectorStoreRetriever

public interface BaseRetriever
Base interface for retrievers.
Author:
HamaWhite
  • Method Details

    • getRelevantDocuments

      List<Document> getRelevantDocuments(String query)
      Get documents relevant for a query.
      Parameters:
      query - string to find relevant documents for
      Returns:
      List of relevant documents