From 73e0871345f7215b091720a6deed8a9e2018b81f Mon Sep 17 00:00:00 2001 From: Andrew Nguonly Date: Tue, 23 Jul 2024 08:56:56 -0700 Subject: [PATCH 1/3] Add constraints info to LangGraph Cloud setup docs. --- docs/docs/cloud/deployment/setup.md | 18 +++++++++++++++++ docs/docs/cloud/deployment/setup_pyproject.md | 20 ++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/docs/docs/cloud/deployment/setup.md b/docs/docs/cloud/deployment/setup.md index 4688a6abd..dff3bdbb8 100644 --- a/docs/docs/cloud/deployment/setup.md +++ b/docs/docs/cloud/deployment/setup.md @@ -19,6 +19,24 @@ After each step, an example file directory is provided to demonstrate how code c Dependencies can optionally be specified in one of the following files: `pyproject.toml`, `setup.py`, or `requirements.txt`. If none of these files is created, then dependencies can be specified later in the [LangGraph API configuration file](#create-langgraph-api-config). +Constraints: +``` +langgraph>=0.1.7 +langchain-core>=0.2.7 +orjson>=3.10.1 +langsmith>=0.1.50 +httpx>=0.27.0 +langchain-core>=0.2.8 +langsmith>=0.1.63 +tenacity>=8.3.0 +uvicorn>=0.29.0 +sse-starlette>=2.1.0 +uvloop>=0.19.0 +httptools>=0.6.1 +jsonschema-rs>=0.18.0 +croniter>=1.0.1 +``` + Example `requirements.txt` file: ``` langgraph diff --git a/docs/docs/cloud/deployment/setup_pyproject.md b/docs/docs/cloud/deployment/setup_pyproject.md index 875abed3b..f2c499fbc 100644 --- a/docs/docs/cloud/deployment/setup_pyproject.md +++ b/docs/docs/cloud/deployment/setup_pyproject.md @@ -20,6 +20,24 @@ After each step, an example file directory is provided to demonstrate how code c Dependencies can optionally be specified in one of the following files: `pyproject.toml`, `setup.py`, or `requirements.txt`. If none of these files is created, then dependencies can be specified later in the [LangGraph API configuration file](#create-langgraph-api-config). +Constraints: +``` +langgraph>=0.1.7 +langchain-core>=0.2.7 +orjson>=3.10.1 +langsmith>=0.1.50 +httpx>=0.27.0 +langchain-core>=0.2.8 +langsmith>=0.1.63 +tenacity>=8.3.0 +uvicorn>=0.29.0 +sse-starlette>=2.1.0 +uvloop>=0.19.0 +httptools>=0.6.1 +jsonschema-rs>=0.18.0 +croniter>=1.0.1 +``` + Example `pyproject.toml` file: ```toml @@ -33,7 +51,7 @@ readme = "README.md" [tool.poetry.dependencies] python = ">=3.9.0,<3.13" -langgraph = "^0.1.0" +langgraph = "^0.1.7" langchain-fireworks = "^0.1.3" From 7ec37575de930ea807876aba5d81a87249b62e84 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 23 Jul 2024 13:29:43 -0700 Subject: [PATCH 2/3] Update setup.md --- docs/docs/cloud/deployment/setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/cloud/deployment/setup.md b/docs/docs/cloud/deployment/setup.md index dff3bdbb8..0ab7900d0 100644 --- a/docs/docs/cloud/deployment/setup.md +++ b/docs/docs/cloud/deployment/setup.md @@ -19,7 +19,7 @@ After each step, an example file directory is provided to demonstrate how code c Dependencies can optionally be specified in one of the following files: `pyproject.toml`, `setup.py`, or `requirements.txt`. If none of these files is created, then dependencies can be specified later in the [LangGraph API configuration file](#create-langgraph-api-config). -Constraints: +The dependencies below will be included in the image, you can also use them in your code, as long as with a compatible version range: ``` langgraph>=0.1.7 langchain-core>=0.2.7 @@ -139,4 +139,4 @@ To deploy the LangGraph application to LangGraph Cloud, the code must be uploade ## Next -After you setup your repo, it's time to [deploy your app](./cloud.md). \ No newline at end of file +After you setup your repo, it's time to [deploy your app](./cloud.md). From aeae796e609ef166a014497b0894e9243b73758a Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 23 Jul 2024 13:29:56 -0700 Subject: [PATCH 3/3] Update setup_pyproject.md --- docs/docs/cloud/deployment/setup_pyproject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/cloud/deployment/setup_pyproject.md b/docs/docs/cloud/deployment/setup_pyproject.md index f2c499fbc..90d8245c0 100644 --- a/docs/docs/cloud/deployment/setup_pyproject.md +++ b/docs/docs/cloud/deployment/setup_pyproject.md @@ -20,7 +20,7 @@ After each step, an example file directory is provided to demonstrate how code c Dependencies can optionally be specified in one of the following files: `pyproject.toml`, `setup.py`, or `requirements.txt`. If none of these files is created, then dependencies can be specified later in the [LangGraph API configuration file](#create-langgraph-api-config). -Constraints: +The dependencies below will be included in the image, you can also use them in your code, as long as with a compatible version range: ``` langgraph>=0.1.7 langchain-core>=0.2.7