Skip to content

Commit 71f590d

Browse files
authored
docs: fix more broken links (#27806)
Fix some broken links
1 parent c572d66 commit 71f590d

18 files changed

+21
-21
lines changed

docs/docs/concepts/chat_models.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ A semantic cache introduces a dependency on another model on the critical path o
152152

153153
However, there might be situations where caching chat model responses is beneficial. For example, if you have a chat model that is used to answer frequently asked questions, caching responses can help reduce the load on the model provider and improve response times.
154154

155-
Please see the [how to cache chat model responses](/docs/how_to/#chat-model-caching) guide for more details.
155+
Please see the [how to cache chat model responses](/docs/how_to/chat_model_caching/) guide for more details.
156156

157157
## Related resources
158158

@@ -165,4 +165,4 @@ Please see the [how to cache chat model responses](/docs/how_to/#chat-model-cach
165165
* [Tool calling](/docs/concepts#tool-calling)
166166
* [Multimodality](/docs/concepts/multimodality)
167167
* [Structured outputs](/docs/concepts#structured_output)
168-
* [Tokens](/docs/concepts/tokens)
168+
* [Tokens](/docs/concepts/tokens)

docs/docs/concepts/runnables.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This guide covers the main concepts and methods of the Runnable interface, which
1515
The Runnable way defines a standard interface that allows a Runnable component to be:
1616

1717
* [Invoked](/docs/how_to/lcel_cheatsheet/#invoke-a-runnable): A single input is transformed into an output.
18-
* [Batched](/docs/how_to/lcel_cheatsheet/#batch-a-runnable/): Multiple inputs are efficiently transformed into outputs.
18+
* [Batched](/docs/how_to/lcel_cheatsheet/#batch-a-runnable): Multiple inputs are efficiently transformed into outputs.
1919
* [Streamed](/docs/how_to/lcel_cheatsheet/#stream-a-runnable): Outputs are streamed as they are produced.
2020
* Inspected: Schematic information about Runnable's input, output, and configuration can be accessed.
2121
* Composed: Multiple Runnables can be composed to work together using [the LangChain Expression Language (LCEL)](/docs/concepts/lcel) to create complex pipelines.

docs/docs/concepts/tools.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ See [how to pass run time values to tools](/docs/how_to/tool_runtime/) for more
141141

142142
You can use the `RunnableConfig` object to pass custom run time values to tools.
143143

144-
If you need to access the [RunnableConfig](/docs/concepts/runnables/#RunnableConfig) object from within a tool. This can be done by using the `RunnableConfig` annotation in the tool's function signature.
144+
If you need to access the [RunnableConfig](/docs/concepts/runnables/#runnableconfig) object from within a tool. This can be done by using the `RunnableConfig` annotation in the tool's function signature.
145145

146146
```python
147147
from langchain_core.runnables import RunnableConfig

docs/docs/concepts/vectorstores.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,6 @@ See this [how-to guide on hybrid search](/docs/how_to/hybrid/) for more details.
186186
| Name | When to use | Description |
187187
|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
188188
| [Hybrid search](/docs/integrations/retrievers/pinecone_hybrid_search/) | When combining keyword-based and semantic similarity. | Hybrid search combines keyword and semantic similarity, marrying the benefits of both approaches. [Paper](https://arxiv.org/abs/2210.11934). |
189-
| [Maximal Marginal Relevance (MMR)](/docs/integrations/vectorstores/pinecone/#maximal-marginal-relevance-searches) | When needing to diversify search results. | MMR attempts to diversify the results of a search to avoid returning similar and redundant documents. |
189+
| [Maximal Marginal Relevance (MMR)](https://python.langchain.com/api_reference/pinecone/vectorstores/langchain_pinecone.vectorstores.PineconeVectorStore.html#langchain_pinecone.vectorstores.PineconeVectorStore.max_marginal_relevance_search) | When needing to diversify search results. | MMR attempts to diversify the results of a search to avoid returning similar and redundant documents. |
190190

191191

docs/docs/how_to/agent_executor.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"# Build an Agent with AgentExecutor (Legacy)\n",
1919
"\n",
2020
":::important\n",
21-
"This section will cover building with the legacy LangChain AgentExecutor. These are fine for getting started, but past a certain point, you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd recommend checking out [LangGraph Agents](/docs/concepts/#langgraph) or the [migration guide](/docs/how_to/migrate_agent/)\n",
21+
"This section will cover building with the legacy LangChain AgentExecutor. These are fine for getting started, but past a certain point, you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd recommend checking out [LangGraph Agents](/docs/concepts/architecture/#langgraph) or the [migration guide](/docs/how_to/migrate_agent/)\n",
2222
":::\n",
2323
"\n",
2424
"By themselves, language models can't take actions - they just output text.\n",
@@ -802,7 +802,7 @@
802802
"That's a wrap! In this quick start we covered how to create a simple agent. Agents are a complex topic, and there's lot to learn! \n",
803803
"\n",
804804
":::important\n",
805-
"This section covered building with LangChain Agents. LangChain Agents are fine for getting started, but past a certain point you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd reccommend checking out [LangGraph](/docs/concepts/#langgraph)\n",
805+
"This section covered building with LangChain Agents. LangChain Agents are fine for getting started, but past a certain point you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd reccommend checking out [LangGraph](/docs/concepts/architecture/#langgraph)\n",
806806
":::\n",
807807
"\n",
808808
"If you want to continue using LangChain agents, some good advanced guides are:\n",

docs/docs/how_to/qa_chat_history_how_to.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@
686686
"source": [
687687
"### Agent constructor\n",
688688
"\n",
689-
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/#langgraph) to construct the agent. \n",
689+
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/architecture/#langgraph) to construct the agent. \n",
690690
"Currently we are using a high level interface to construct the agent, but the nice thing about LangGraph is that this high-level interface is backed by a low-level, highly controllable API in case you want to modify the agent logic."
691691
]
692692
},

docs/docs/how_to/structured_output.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
"id": "498d893b-ceaa-47ff-a9d8-4faa60702715",
557557
"metadata": {},
558558
"source": [
559-
"For more on few shot prompting when using tool calling, see [here](/docs/how_to/function_calling/#Few-shot-prompting)."
559+
"For more on few shot prompting when using tool calling, see [here](/docs/how_to/tools_few_shot/)."
560560
]
561561
},
562562
{

docs/docs/integrations/chat/naver.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"source": [
1818
"# ChatClovaX\n",
1919
"\n",
20-
"This notebook provides a quick overview for getting started with Naver’s HyperCLOVA X [chat models](https://python.langchain.com/docs/concepts/#chat-models) via CLOVA Studio. For detailed documentation of all ChatClovaX features and configurations head to the [API reference](https://python.langchain.com/api_reference/community/chat_models/langchain_community.chat_models.naver.ChatClovaX.html).\n",
20+
"This notebook provides a quick overview for getting started with Naver’s HyperCLOVA X [chat models](https://python.langchain.com/docs/concepts/chat_models) via CLOVA Studio. For detailed documentation of all ChatClovaX features and configurations head to the [API reference](https://python.langchain.com/api_reference/community/chat_models/langchain_community.chat_models.naver.ChatClovaX.html).\n",
2121
"\n",
2222
"[CLOVA Studio](http://clovastudio.ncloud.com/) has several chat models. You can find information about latest models and their costs, context windows, and supported input types in the CLOVA Studio API Guide [documentation](https://api.ncloud-docs.com/docs/clovastudio-chatcompletions).\n",
2323
"\n",

docs/docs/integrations/chat/writer.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"source": [
1818
"# ChatWriter\n",
1919
"\n",
20-
"This notebook provides a quick overview for getting started with Writer [chat models](/docs/concepts/#chat-models).\n",
20+
"This notebook provides a quick overview for getting started with Writer [chat models](/docs/concepts/chat_models).\n",
2121
"\n",
2222
"Writer has several chat models. You can find information about their latest models and their costs, context windows, and supported input types in the [Writer docs](https://dev.writer.com/home/models).\n",
2323
"\n",

docs/docs/integrations/llms/sambastudio.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"**[SambaNova](https://sambanova.ai/)'s** [Sambastudio](https://sambanova.ai/technology/full-stack-ai-platform) is a platform that allows you to train, run batch inference jobs, and deploy online inference endpoints to run open source models that you fine tuned yourself.\n",
1010
"\n",
1111
":::caution\n",
12-
"You are currently on a page documenting the use of SambaStudio models as [text completion models](/docs/concepts/#llms). We recommend you to use the [chat completion models](/docs/concepts/#chat-models).\n",
12+
"You are currently on a page documenting the use of SambaStudio models as [text completion models](/docs/concepts/text_llms). We recommend you to use the [chat completion models](/docs/concepts/chat_models).\n",
1313
"\n",
1414
"You may be looking for [SambaStudio Chat Models](/docs/integrations/chat/sambastudio/) .\n",
1515
":::\n",

docs/docs/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_class_name: hidden
99

1010
LangChain simplifies every stage of the LLM application lifecycle:
1111
- **Development**: Build your applications using LangChain's open-source [building blocks](/docs/concepts#langchain-expression-language-lcel), [components](/docs/concepts), and [third-party integrations](/docs/integrations/providers/).
12-
Use [LangGraph](/docs/concepts/#langgraph) to build stateful agents with first-class streaming and human-in-the-loop support.
12+
Use [LangGraph](/docs/concepts/architecture/#langgraph) to build stateful agents with first-class streaming and human-in-the-loop support.
1313
- **Productionization**: Use [LangSmith](https://docs.smith.langchain.com/) to inspect, monitor and evaluate your chains, so that you can continuously optimize and deploy with confidence.
1414
- **Deployment**: Turn your LangGraph applications into production-ready APIs and Assistants with [LangGraph Cloud](https://langchain-ai.github.io/langgraph/cloud/).
1515

docs/docs/troubleshooting/errors/INVALID_PROMPT_INPUT.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following may help resolve this error:
88

99
- Double-check your prompt template to ensure that it is correct.
1010
- If you are using the default f-string format and you are using curly braces `{` anywhere in your template, they should be double escaped like this: `{{` (and if you want to render a double curly brace, you should use four curly braces: `{{{{`).
11-
- If you are using a [`MessagesPlaceholder`](/docs/concepts/messages/#messagesplaceholder), make sure that you are passing in an array of messages or message-like objects.
11+
- If you are using a [`MessagesPlaceholder`](/docs/concepts/prompt_templates/#messagesplaceholder), make sure that you are passing in an array of messages or message-like objects.
1212
- If you are using shorthand tuples to declare your prompt template, make sure that the variable name is wrapped in curly braces (`["placeholder", "{messages}"]`).
1313
- Try viewing the inputs into your prompt template using [LangSmith](https://docs.smith.langchain.com/) or log statements to confirm they appear as expected.
1414
- If you are pulling a prompt from the [LangChain Prompt Hub](https://smith.langchain.com/prompts), try pulling and logging it or running it in isolation with a sample input to confirm that it is what you expect.

docs/docs/tutorials/agents.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
"source": [
371371
"## Create the agent\n",
372372
"\n",
373-
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/#langgraph) to construct the agent. \n",
373+
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/architecture/#langgraph) to construct the agent. \n",
374374
"Currently, we are using a high level interface to construct the agent, but the nice thing about LangGraph is that this high-level interface is backed by a low-level, highly controllable API in case you want to modify the agent logic.\n"
375375
]
376376
},
@@ -719,7 +719,7 @@
719719
"We've also added in memory so you can have a conversation with them.\n",
720720
"Agents are a complex topic with lots to learn! \n",
721721
"\n",
722-
"For more information on Agents, please check out the [LangGraph](/docs/concepts/#langgraph) documentation. This has it's own set of concepts, tutorials, and how-to guides."
722+
"For more information on Agents, please check out the [LangGraph](/docs/concepts/architecture/#langgraph) documentation. This has it's own set of concepts, tutorials, and how-to guides."
723723
]
724724
},
725725
{

docs/docs/tutorials/llm_chain.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"\n",
3030
"- Debugging and tracing your application using [LangSmith](https://docs.smith.langchain.com/)\n",
3131
"\n",
32-
"- Deploying your application with [LangServe](/docs/concepts/#langserve)\n",
32+
"- Deploying your application with [LangServe](/docs/concepts/architecture/#langserve)\n",
3333
"\n",
3434
"Let's dive in!\n",
3535
"\n",

docs/docs/tutorials/qa_chat_history.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@
817817
"source": [
818818
"### Agent constructor\n",
819819
"\n",
820-
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/#langgraph) to construct the agent. \n",
820+
"Now that we have defined the tools and the LLM, we can create the agent. We will be using [LangGraph](/docs/concepts/architecture/#langgraph) to construct the agent. \n",
821821
"Currently we are using a high level interface to construct the agent, but the nice thing about LangGraph is that this high-level interface is backed by a low-level, highly controllable API in case you want to modify the agent logic."
822822
]
823823
},

docs/docs/tutorials/sql_qa.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
"cell_type": "markdown",
495495
"metadata": {},
496496
"source": [
497-
"We will use a prebuilt [LangGraph](/docs/concepts/#langgraph) agent to build our agent"
497+
"We will use a prebuilt [LangGraph](/docs/concepts/architecture/#langgraph) agent to build our agent"
498498
]
499499
},
500500
{

docs/scripts/kv_store_feat_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
# Key-value stores
1616
17-
[Key-value stores](/docs/concepts/#key-value-stores) are used by other LangChain components to store and retrieve data.
17+
[Key-value stores](/docs/concepts/key_value_stores) are used by other LangChain components to store and retrieve data.
1818
1919
:::info
2020

docs/scripts/tool_feat_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
183183
# Tools
184184
185-
[Tools](/docs/concepts/#tools) are utilities designed to be called by a model: their inputs are designed to be generated by models, and their outputs are designed to be passed back to models.
185+
[Tools](/docs/concepts/tools) are utilities designed to be called by a model: their inputs are designed to be generated by models, and their outputs are designed to be passed back to models.
186186
187187
A [toolkit](/docs/concepts#toolkits) is a collection of tools meant to be used together.
188188

0 commit comments

Comments
 (0)