A retriever that searches arXiv for relevant articles based on a query. It can retrieve either full documents (PDFs) or just summaries.
Example usage:
// Initialize embeddings and chat model
const embeddings = new OpenAIEmbeddings();
const chatModel = new ChatOpenAI({ model: "gpt-4o-mini" });
// Create retriever with hybrid sea
A retriever that uses the BM25 algorithm to rank documents based on their similarity to a query. It uses the "okapibm25" package for BM25 scoring. The k parameter determines the number of documents to
Class used to interact with the Metal service, a managed retrieval & memory platform. It allows you to index your data into Metal and run semantic search and retrieval on it. It extends the `BaseRetri
Abstract class for interacting with a remote server to retrieve relevant documents based on a given query.
Class for performing hybrid search operations on a Supabase database.
It extends the BaseRetriever class and implements methods for
similarity search, keyword search, and hybrid search.
A class for retrieving documents related to a given search term using the Tavily Search API.
Class responsible for retrieving data from Vespa. It extends the
RemoteRetriever class and includes methods for creating the JSON body
for a query and processing the JSON response from Vespa.
Class for retrieving information from a Zep long-term memory store. Extends the BaseRetriever class.
Class for retrieving information from a Zep Cloud long-term memory store. Extends the BaseRetriever class.
Interface for the arguments required to initialize an Azion library.
Interface for the fields required during the initialization of a
MetalRetriever instance. It extends the BaseRetrieverInput
interface and adds a client field of type Metal.
Interface for the parameters required to initialize a RemoteRetriever instance.
Interface for the parameters required to initialize a RemoteRetriever instance.
Configuration interface for the ZepRetriever class. Extends the BaseRetrieverInput interface.
Configuration interface for the ZepRetriever class. Extends the BaseRetrieverInput interface.
Represents a filter condition for querying the Azion database
Represents a database column name
Valid SQL operators that can be used in filter conditions
Type for the authentication method used by the RemoteRetriever. It can either be false (no authentication) or an object with a bearer token.
Type for the JSON response values from the remote server.
Options for the TavilySearchAPIRetriever class, which includes a BaseLanguageModel instance, a VectorStore instance, and an optional promptTemplate which can either be a BasePromptTemplate instance or