Skip to content

Commit 1bf6576

Browse files
authored
cli[patch]: fix anchor links in templates (#29178)
These are outdated and can break docs builds.
1 parent e156b37 commit 1bf6576

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

libs/cli/langchain_cli/integration_template/docs/chat.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"\n",
2020
"- TODO: Make sure API reference link is correct.\n",
2121
"\n",
22-
"This will help you getting started with __ModuleName__ [chat models](/docs/concepts/#chat-models). For detailed documentation of all Chat__ModuleName__ features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/chat_models/__module_name__.chat_models.Chat__ModuleName__.html).\n",
22+
"This will help you getting started with __ModuleName__ [chat models](/docs/concepts/chat_models). For detailed documentation of all Chat__ModuleName__ features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/chat_models/__module_name__.chat_models.Chat__ModuleName__.html).\n",
2323
"\n",
2424
"- TODO: Add any other relevant links, like information about models, prices, context windows, etc. See https://python.langchain.com/docs/integrations/chat/openai/ for an example.\n",
2525
"\n",

libs/cli/langchain_cli/integration_template/docs/document_loaders.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"\n",
1818
"- TODO: Make sure API reference link is correct.\n",
1919
"\n",
20-
"This notebook provides a quick overview for getting started with __ModuleName__ [document loader](https://python.langchain.com/docs/concepts/#document-loaders). For detailed documentation of all __ModuleName__Loader features and configurations head to the [API reference](https://python.langchain.com/v0.2/api_reference/community/document_loaders/langchain_community.document_loaders.__module_name___loader.__ModuleName__Loader.html).\n",
20+
"This notebook provides a quick overview for getting started with __ModuleName__ [document loader](https://python.langchain.com/docs/concepts/document_loaders). For detailed documentation of all __ModuleName__Loader features and configurations head to the [API reference](https://python.langchain.com/v0.2/api_reference/community/document_loaders/langchain_community.document_loaders.__module_name___loader.__ModuleName__Loader.html).\n",
2121
"\n",
2222
"- TODO: Add any other relevant links, like information about underlying API, etc.\n",
2323
"\n",

libs/cli/langchain_cli/integration_template/docs/retrievers.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"\n",
2020
"- TODO: Make sure API reference link is correct.\n",
2121
"\n",
22-
"This will help you getting started with the __ModuleName__ [retriever](/docs/concepts/#retrievers). For detailed documentation of all __ModuleName__Retriever features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/retrievers/__module_name__.retrievers.__ModuleName__.__ModuleName__Retriever.html).\n",
22+
"This will help you getting started with the __ModuleName__ [retriever](/docs/concepts/retrievers). For detailed documentation of all __ModuleName__Retriever features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/retrievers/__module_name__.retrievers.__ModuleName__.__ModuleName__Retriever.html).\n",
2323
"\n",
2424
"### Integration details\n",
2525
"\n",

libs/cli/langchain_cli/integration_template/docs/toolkits.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"\n",
2020
"- TODO: Make sure API reference link is correct.\n",
2121
"\n",
22-
"This will help you getting started with the __ModuleName__ [toolkit](/docs/concepts/#toolkits). For detailed documentation of all __ModuleName__Toolkit features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/agent_toolkits/__module_name__.agent_toolkits.__ModuleName__.toolkit.__ModuleName__Toolkit.html).\n",
22+
"This will help you getting started with the __ModuleName__ [toolkit](/docs/concepts/tools/#toolkits). For detailed documentation of all __ModuleName__Toolkit features and configurations head to the [API reference](https://api.python.langchain.com/en/latest/agent_toolkits/__module_name__.agent_toolkits.__ModuleName__.toolkit.__ModuleName__Toolkit.html).\n",
2323
"\n",
2424
"## Setup\n",
2525
"\n",

libs/cli/langchain_cli/integration_template/docs/tools.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"source": [
133133
"## Invocation\n",
134134
"\n",
135-
"### [Invoke directly with args](/docs/concepts/#invoke-with-just-the-arguments)\n",
135+
"### [Invoke directly with args](/docs/concepts/tools/#use-the-tool-directly)\n",
136136
"\n",
137137
"- TODO: Describe what the tool args are, fill them in, run cell"
138138
]
@@ -152,7 +152,7 @@
152152
"id": "d6e73897",
153153
"metadata": {},
154154
"source": [
155-
"### [Invoke with ToolCall](/docs/concepts/#invoke-with-toolcall)\n",
155+
"### [Invoke with ToolCall](/docs/concepts/tool_calling/#tool-execution)\n",
156156
"\n",
157157
"We can also invoke the tool with a model-generated ToolCall, in which case a ToolMessage will be returned:\n",
158158
"\n",

libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
"\n",
295295
"- [Tutorials](/docs/tutorials/)\n",
296296
"- [How-to: Question and answer with RAG](https://python.langchain.com/docs/how_to/#qa-with-rag)\n",
297-
"- [Retrieval conceptual docs](https://python.langchain.com/docs/concepts/#retrieval)"
297+
"- [Retrieval conceptual docs](https://python.langchain.com/docs/concepts/retrieval/)"
298298
]
299299
},
300300
{

0 commit comments

Comments
 (0)