[Docs] Update to use v2.0 links (#675)

This commit is contained in:
William FH
2024-06-14 12:38:44 -07:00
committed by GitHub
parent 74b01a59e8
commit 336637437e
38 changed files with 141 additions and 113 deletions
@@ -18,7 +18,7 @@
"\n",
"[AlphaCodium](https://github.com/Codium-ai/AlphaCodium) iteravely tests and improves an answer on public and AI-generated tests for a particular question. \n",
"\n",
"We will implement some of these ideas from scratch using [LangGraph](https://python.langchain.com/docs/langgraph):\n",
"We will implement some of these ideas from scratch using [LangGraph](https://langchain-ai.github.io/langgraph/):\n",
"\n",
"1. We start with a set of documentation specified by a user\n",
"2. We use a long context LLM to ingest it and perform RAG to answer a question based upon it\n",
@@ -45,7 +45,7 @@
"source": [
"## Docs\n",
"\n",
"Load [LangChain Expression Language](https://python.langchain.com/docs/expression_language/) (LCEL) docs as an example."
"Load [LangChain Expression Language](https://python.langchain.com/v0.2/docs/concepts/#langchain-expression-language-lcel) (LCEL) docs as an example."
]
},
{
@@ -59,7 +59,7 @@
"from langchain_community.document_loaders.recursive_url_loader import RecursiveUrlLoader\n",
"\n",
"# LCEL docs\n",
"url = \"https://python.langchain.com/docs/expression_language/\"\n",
"url = \"https://python.langchain.com/v0.2/docs/concepts/#langchain-expression-language-lcel\"\n",
"loader = RecursiveUrlLoader(\n",
" url=url, max_depth=20, extractor=lambda x: Soup(x, \"html.parser\").text\n",
")\n",