D-Star-AI / dsRAG

High-performance retrieval engine for unstructured data
MIT License
779 stars 54 forks source link

Create LangChain Custom Retriever #4

Closed zmccormick7 closed 2 months ago

zmccormick7 commented 4 months ago

Just need to subclass LangChain's BaseRetriever class and include a _get_relevant_documents method that calls kb.query.