langchain/docs/docs/integrations/retrievers
Amaan d4b9404fd6
docs: add langchain dappier tool integration notebook (#29265)
Add tools to interact with Dappier APIs with an example notebook.

For `DappierRealTimeSearchTool`, the tool can be invoked with:

```python
from langchain_dappier import DappierRealTimeSearchTool

tool = DappierRealTimeSearchTool()

tool.invoke({"query": "What happened at the last wimbledon"})
```

```
At the last Wimbledon in 2024, Carlos Alcaraz won the title by defeating Novak Djokovic. This victory marked Alcaraz's fourth Grand Slam title at just 21 years old! 🎉🏆🎾
```

For DappierAIRecommendationTool the tool can be invoked with:

```python
from langchain_dappier import DappierAIRecommendationTool

tool = DappierAIRecommendationTool(
    data_model_id="dm_01j0pb465keqmatq9k83dthx34",
    similarity_top_k=3,
    ref="sportsnaut.com",
    num_articles_ref=2,
    search_algorithm="most_recent",
)
```

```
[{"author": "Matt Weaver", "image_url": "https://images.dappier.com/dm_01j0pb465keqmatq9k83dthx34...", "pubdate": "Fri, 17 Jan 2025 08:04:03 +0000", "source_url": "https://sportsnaut.com/chili-bowl-thursday-bell-column/", "summary": "The article highlights the thrilling unpredictability... ", "title": "Thursday proves why every lap of Chili Bowl..."},
{"author": "Matt Higgins", "image_url": "https://images.dappier.com/dm_01j0pb465keqmatq9k83dthx34...", "pubdate": "Fri, 17 Jan 2025 02:48:42 +0000", "source_url": "https://sportsnaut.com/new-york-mets-news-pete-alonso...", "summary": "The New York Mets are likely parting ways with star...", "title": "MLB insiders reveal New York Mets’ last-ditch..."},
{"author": "Jim Cerny", "image_url": "https://images.dappier.com/dm_01j0pb465keqmatq9k83dthx34...", "pubdate": "Fri, 17 Jan 2025 05:10:39 +0000", "source_url": "https://www.foreverblueshirts.com/new-york-rangers-news...", "summary": "The New York Rangers achieved a thrilling 5-3 comeback... ", "title": "Rangers score 3 times in 3rd period for stirring 5-3..."}]
```

The integration package can be found over here -
https://github.com/DappierAI/langchain-dappier
2025-01-17 19:02:28 -05:00
..
self_query docs: Resolve incorrect import of AttributeInfo for self-query retriever section (#28446) 2024-12-08 20:23:26 -08:00
activeloop.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
amazon_kendra_retriever.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
arcee.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
arxiv.ipynb docs: fix mdx codefences (#26802) 2024-09-24 06:06:13 +00:00
asknews.ipynb replace all LANGCHAIN_ flags with LANGSMITH_ flags (#29120) 2025-01-11 01:24:40 +00:00
azure_ai_search.ipynb concepts: update llm stub page and re-link (#27567) 2024-10-22 23:03:36 -04:00
bedrock.ipynb concepts: update llm stub page and re-link (#27567) 2024-10-22 23:03:36 -04:00
bm25.ipynb Updated docs for the BM25 preprocessing function (#28101) 2024-11-26 14:59:15 -05:00
box.ipynb docs: Update documentation for BoxBlobLoader, extra_fields (#28942) 2024-12-27 12:06:58 -08:00
breebs.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
chaindesk.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
chatgpt-plugin.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
cohere-reranker.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
cohere.ipynb docs: Minor corrections and updates to Cohere docs (#22726) 2024-07-31 10:16:26 -07:00
dappier.ipynb docs: add langchain dappier tool integration notebook (#29265) 2025-01-17 19:02:28 -05:00
docarray_retriever.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
dria_index.ipynb docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
elastic_search_bm25.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
elasticsearch_retriever.ipynb Update elasticsearch_retriever.ipynb (#29223) 2025-01-15 10:09:51 -05:00
embedchain.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
flashrank-reranker.ipynb docs: fix path for state_of_the_union sample file (#21609) 2024-05-13 11:46:02 -04:00
fleet_context.ipynb docs: more api ref links, add linting step to prevent more (#28495) 2024-12-04 04:19:42 +00:00
google_drive.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
google_vertex_ai_search.ipynb concepts: update llm stub page and re-link (#27567) 2024-10-22 23:03:36 -04:00
ibm_watsonx_ranker.ipynb docs: Update IBM WatsonxRerank documentation (#29138) 2025-01-10 15:07:29 -05:00
index.mdx docs: fix more links (#27598) 2024-10-23 21:26:38 -04:00
jaguar.ipynb docs: fix path for state_of_the_union sample file (#21609) 2024-05-13 11:46:02 -04:00
kay.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
kinetica.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
knn.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
linkup_search.ipynb docs: add Linkup integration documentation (#28366) 2024-12-09 14:36:25 -08:00
llmlingua.ipynb docs: fix path for state_of_the_union sample file (#21609) 2024-05-13 11:46:02 -04:00
merger_retriever.ipynb docs: huggingface package (#21645) 2024-05-14 03:17:40 +00:00
metal.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
milvus_hybrid_search.ipynb concepts: update llm stub page and re-link (#27567) 2024-10-22 23:03:36 -04:00
nanopq.ipynb community: retrievers: added capability for using Product Quantization as one of the retriever. (#22424) 2024-07-24 13:52:15 +00:00
needle.ipynb community: add Needle retriever and document loader integration (#28157) 2024-12-03 22:06:25 +00:00
outline.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
pinecone_hybrid_search.ipynb pinecone: update pinecone client (#28320) 2024-12-02 22:47:09 -08:00
pubmed.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
qdrant-sparse.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
ragatouille.ipynb docs: added ColBERT reference (#25452) 2024-08-28 19:05:44 -07:00
re_phrase.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
rememberizer.ipynb community[minor]: Rememberizer retriever (#20052) 2024-05-01 10:41:44 -04:00
sec_filings.ipynb docs: integrations/retrievers cleanup (#20357) 2024-04-19 10:02:41 -04:00
singlestoredb.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
svm.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tavily.ipynb multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tf_idf.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
thirdai_neuraldb.ipynb docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
vespa.ipynb patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
wikipedia.ipynb docs: fix mdx codefences (#26802) 2024-09-24 06:06:13 +00:00
you-retriever.ipynb replace all LANGCHAIN_ flags with LANGSMITH_ flags (#29120) 2025-01-11 01:24:40 +00:00
zep_cloud_memorystore.ipynb community[minor]: Add Zep Cloud components + docs + examples (#21671) 2024-05-27 12:50:13 -07:00
zep_memorystore.ipynb docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
zilliz_cloud_pipeline.ipynb docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00