Skip to content

Commit

Permalink
docs: Update Retrievers and Runnable links in Retrievers subsection o…
Browse files Browse the repository at this point in the history
…f retrievers.ipynb (#27815)

**Description:** Update outdated links for `Retrievers` and `Runnable`
in Retrievers subsection of `retrievers.ipynb`
  • Loading branch information
sifatj authored Nov 1, 2024
1 parent b0dfff4 commit 9a4a630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tutorials/retrievers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@
"\n",
"## Retrievers\n",
"\n",
"LangChain `VectorStore` objects do not subclass [Runnable](https://python.langchain.com/api_reference/core/index.html#module-langchain_core.runnables), and so cannot immediately be integrated into LangChain Expression Language [chains](/docs/concepts/lcel).\n",
"LangChain `VectorStore` objects do not subclass [Runnable](https://python.langchain.com/api_reference/core/index.html#langchain-core-runnables), and so cannot immediately be integrated into LangChain Expression Language [chains](/docs/concepts/lcel).\n",
"\n",
"LangChain [Retrievers](https://python.langchain.com/api_reference/core/index.html#module-langchain_core.retrievers) are Runnables, so they implement a standard set of methods (e.g., synchronous and asynchronous `invoke` and `batch` operations) and are designed to be incorporated in LCEL chains.\n",
"LangChain [Retrievers](https://python.langchain.com/api_reference/core/index.html#langchain-core-retrievers) are Runnables, so they implement a standard set of methods (e.g., synchronous and asynchronous `invoke` and `batch` operations) and are designed to be incorporated in LCEL chains.\n",
"\n",
"We can create a simple version of this ourselves, without subclassing `Retriever`. If we choose what method we wish to use to retrieve documents, we can create a runnable easily. Below we will build one around the `similarity_search` method:"
]
Expand Down

0 comments on commit 9a4a630

Please sign in to comment.