From 5037cf70fa01a54b50efee4ffdc9c70b401a7fb3 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Wed, 30 Oct 2024 22:46:01 -0400 Subject: [PATCH] fix some links (#2257) update some links --- docs/docs/cloud/how-tos/index.md | 2 +- docs/docs/concepts/application_structure.md | 2 +- docs/docs/concepts/assistants.md | 2 +- docs/docs/concepts/deployment_options.md | 4 ++-- docs/docs/concepts/index.md | 2 +- docs/docs/concepts/langgraph_platform.md | 2 +- docs/docs/concepts/langgraph_studio.md | 2 +- .../{deployment/self_hosted.md => deploy-self-hosted.md} | 8 ++++---- docs/docs/how-tos/index.md | 5 ++--- .../remote_graph.md => how-tos/use-remote-graph.md} | 4 ++-- 10 files changed, 16 insertions(+), 17 deletions(-) rename docs/docs/how-tos/{deployment/self_hosted.md => deploy-self-hosted.md} (92%) rename docs/docs/{cloud/how-tos/remote_graph.md => how-tos/use-remote-graph.md} (98%) diff --git a/docs/docs/cloud/how-tos/index.md b/docs/docs/cloud/how-tos/index.md index 857756e4b..b5ef870dd 100644 --- a/docs/docs/cloud/how-tos/index.md +++ b/docs/docs/cloud/how-tos/index.md @@ -22,7 +22,7 @@ LangGraph Cloud gives you best in class observability, testing, and hosting serv Learn how to deploy your app to LangGraph Cloud in these how to guides: - [How to deploy to LangGraph cloud](../deployment/cloud.md) -- [How to interact with the deployment using RemoteGraph](./remote_graph.md) +- [How to interact with the deployment using RemoteGraph](../../how-tos/use-remote-graph.md) ## Streaming diff --git a/docs/docs/concepts/application_structure.md b/docs/docs/concepts/application_structure.md index d27b81dea..d27ed60b9 100644 --- a/docs/docs/concepts/application_structure.md +++ b/docs/docs/concepts/application_structure.md @@ -164,4 +164,4 @@ For a production deployment, you will typically want to configure the environmen Please see the following resources for more information: -- How-to guides for [Application Structure](../../how-tos/#application-structure). +- How-to guides for [Application Structure](../how-tos/index.md#application-structure). diff --git a/docs/docs/concepts/assistants.md b/docs/docs/concepts/assistants.md index 455fdbaa5..d6b97a8a0 100644 --- a/docs/docs/concepts/assistants.md +++ b/docs/docs/concepts/assistants.md @@ -34,4 +34,4 @@ For example, let's imagine you have a general writing agent. You have created a For more information on assistants, see the following resources: -- [Assistants how-to guides](../../how-tos/#assistants) \ No newline at end of file +- [Assistants how-to guides](../how-tos/index.md#assistants) \ No newline at end of file diff --git a/docs/docs/concepts/deployment_options.md b/docs/docs/concepts/deployment_options.md index 74d7ced99..d3c316cdc 100644 --- a/docs/docs/concepts/deployment_options.md +++ b/docs/docs/concepts/deployment_options.md @@ -31,7 +31,7 @@ You’ll build a Docker image using the [LangGraph CLI](./langgraph_cli.md), whi For more information, please see: -* [Self-Hosted Deployment how-to guide](../how-tos/deployment/self_hosted.md) +* [Self-Hosted Deployment how-to guide](../how-tos/deploy-self-hosted.md) ## Cloud SaaS @@ -70,4 +70,4 @@ For more information please see: For more information please see: * [LangGraph Platform Pricing](https://www.langchain.com/langgraph-platform-pricing) -* [Deployment how-to guides](../../how-tos/#deployment) +* [Deployment how-to guides](../how-tos/index.md#deployment) diff --git a/docs/docs/concepts/index.md b/docs/docs/concepts/index.md index feaf5e2e3..27f18eaa6 100644 --- a/docs/docs/concepts/index.md +++ b/docs/docs/concepts/index.md @@ -56,7 +56,7 @@ The LangGraph Platform comprises several components that work together to suppor - [LangGraph Studio](./langgraph_studio.md): LangGraph Studio is a specialized IDE that can connect to a LangGraph Server to enable visualization, interaction, and debugging of the application locally. - [LangGraph CLI](./langgraph_cli.md): LangGraph CLI is a command-line interface that helps to interact with a local LangGraph - [Python/JS SDK](./sdk.md): The Python/JS SDK provides a programmatic way to interact with deployed LangGraph Applications. -- [Remote Graph](../cloud/how-tos/remote_graph.md): A RemoteGraph allows you to interact with any deployed LangGraph application as though it were running locally. +- [Remote Graph](../how-tos/use-remote-graph.md): A RemoteGraph allows you to interact with any deployed LangGraph application as though it were running locally. **LangGraph Server** diff --git a/docs/docs/concepts/langgraph_platform.md b/docs/docs/concepts/langgraph_platform.md index e7b30bfe0..cda01fbe8 100644 --- a/docs/docs/concepts/langgraph_platform.md +++ b/docs/docs/concepts/langgraph_platform.md @@ -10,7 +10,7 @@ The LangGraph Platform consists of several components that work together to supp - [LangGraph Studio](./langgraph_studio.md): LangGraph Studio is a specialized IDE that can connect to a LangGraph Server to enable visualization, interaction, and debugging of the application locally. - [LangGraph CLI](./langgraph_cli.md): LangGraph CLI is a command-line interface that helps to interact with a local LangGraph - [Python/JS SDK](./sdk.md): The Python/JS SDK provides a programmatic way to interact with deployed LangGraph Applications. -- [Remote Graph](../cloud/how-tos/remote_graph.md): A RemoteGraph allows you to interact with any deployed LangGraph application as though it were running locally. +- [Remote Graph](../how-tos/use-remote-graph.md): A RemoteGraph allows you to interact with any deployed LangGraph application as though it were running locally. The LangGraph Platform offers a few different deployment options described in the [deployment options guide](./deployment_options.md). diff --git a/docs/docs/concepts/langgraph_studio.md b/docs/docs/concepts/langgraph_studio.md index f6b17c39f..039419f41 100644 --- a/docs/docs/concepts/langgraph_studio.md +++ b/docs/docs/concepts/langgraph_studio.md @@ -113,4 +113,4 @@ def routing_function(state: GraphState) -> Literal["node_b","node_c"]: For more information please see the following: -* [LangGraph Studio how-to guides](../../how-tos/#langgraph-studio) \ No newline at end of file +* [LangGraph Studio how-to guides](../how-tos/index.md#langgraph-studio) \ No newline at end of file diff --git a/docs/docs/how-tos/deployment/self_hosted.md b/docs/docs/how-tos/deploy-self-hosted.md similarity index 92% rename from docs/docs/how-tos/deployment/self_hosted.md rename to docs/docs/how-tos/deploy-self-hosted.md index 73f581bcb..51309496a 100644 --- a/docs/docs/how-tos/deployment/self_hosted.md +++ b/docs/docs/how-tos/deploy-self-hosted.md @@ -1,9 +1,9 @@ -# Self-hosted deployment +# How to do a Self-hosted deployment of LangGraph !!! info "Prerequisites" - - [Application Structure](../../concepts/application_structure.md) - - [Deployment Options](../../concepts/deployment_options.md) + - [Application Structure](../concepts/application_structure.md) + - [Deployment Options](../concepts/deployment_options.md) This how-to guide will walk you through how to create a docker image from an existing LangGraph application, so you can deploy it on your own infrastructure. @@ -28,7 +28,7 @@ You will eventually need to pass in the following environment variables to the L ## Build the Docker Image -Please read the [Application Structure](../../concepts/application_structure.md) guide to understand how to structure your LangGraph application. +Please read the [Application Structure](../concepts/application_structure.md) guide to understand how to structure your LangGraph application. If the application is structured correctly, you can build a docker image with the LangGraph Deploy server. diff --git a/docs/docs/how-tos/index.md b/docs/docs/how-tos/index.md index 2c7d3d948..f2415f534 100644 --- a/docs/docs/how-tos/index.md +++ b/docs/docs/how-tos/index.md @@ -147,9 +147,8 @@ Learn how to set up your app for deployment to LangGraph Platform: LangGraph applications can be deployed using LangGraph Cloud, which provides a range of services to help you deploy, manage, and scale your applications. - [How to deploy to LangGraph cloud](../cloud/deployment/cloud.md) -- [How to deploy to a self-hosted environment](./deployment/self_hosted.md) -- [How to interact with the deployment using RemoteGraph](../cloud/how-tos/remote_graph.md) - +- [How to deploy to a self-hosted environment](./deploy-self-hosted.md) +- [How to interact with the deployment using RemoteGraph](./use-remote-graph.md) ### Assistants [Assistants](../concepts/assistants.md) is a configured instance of a template. diff --git a/docs/docs/cloud/how-tos/remote_graph.md b/docs/docs/how-tos/use-remote-graph.md similarity index 98% rename from docs/docs/cloud/how-tos/remote_graph.md rename to docs/docs/how-tos/use-remote-graph.md index 2d3b25c76..b7a5ec76b 100644 --- a/docs/docs/cloud/how-tos/remote_graph.md +++ b/docs/docs/how-tos/use-remote-graph.md @@ -1,8 +1,8 @@ # How to interact with the deployment using RemoteGraph !!! info "Prerequisites" - - [LangGraph Platform](./langgraph_platform.md) - - [LangGraph Server](./langgraph_server.md) + - [LangGraph Platform](../concepts/langgraph_platform.md) + - [LangGraph Server](../concepts/langgraph_server.md) `RemoteGraph` is an interface that allows you to interact with your LangGraph Platform deployment as if it were a regular, locally-defined LangGraph graph (e.g. a `CompiledGraph`). This guide shows you how you can initialize a `RemoteGraph` and interact with it.