mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 03:52:10 +00:00
Add a retriever to interact with Dappier APIs with an example notebook. The retriever can be invoked with: ```python from langchain_dappier import DappierRetriever retriever = DappierRetriever( data_model_id="dm_01jagy9nqaeer9hxx8z1sk1jx6", k=5 ) retriever.invoke("latest tech news") ``` To retrieve 5 documents related to latest news in the tech sector. The included notebook also includes deeper details about controlling filters such as selecting a data model, number of documents to return, site domain reference, minimum articles from the reference domain, and search algorithm, as well as including the retriever in a chain. The integration package can be found over here - https://github.com/DappierAI/langchain-dappier
LangChain Documentation
For more information on contributing to our documentation, see the Documentation Contributing Guide