From 6ed6c7f4099764b932d6f7fb2cee9d19b40c47e6 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Tue, 18 Jun 2024 02:34:35 -0700 Subject: [PATCH] docs[patch]: Increase v0.1 banner size (#23072) CC @hwchase17 --- docs/Makefile | 3 --- docs/docs/get_started/introduction.mdx | 4 ++-- docs/docs/modules/agents/agent_types/xml_agent.ipynb | 4 ++-- docs/docs/use_cases/sql/agents.ipynb | 2 +- docs/sidebars.js | 6 +++++- docs/src/css/custom.css | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 0f44d63a531..1d883f2005a 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -45,9 +45,6 @@ generate-files: wget -q https://raw.githubusercontent.com/langchain-ai/langserve/main/README.md -O $(INTERMEDIATE_DIR)/langserve.md $(PYTHON) scripts/resolve_local_links.py $(INTERMEDIATE_DIR)/langserve.md https://github.com/langchain-ai/langserve/tree/main/ - wget -q https://raw.githubusercontent.com/langchain-ai/langgraph/main/README.md -O $(INTERMEDIATE_DIR)/langgraph.md - $(PYTHON) scripts/resolve_local_links.py $(INTERMEDIATE_DIR)/langgraph.md https://github.com/langchain-ai/langgraph/tree/main/ - copy-infra: mkdir -p $(OUTPUT_NEW_DIR) cp -r src $(OUTPUT_NEW_DIR) diff --git a/docs/docs/get_started/introduction.mdx b/docs/docs/get_started/introduction.mdx index 2a1047da853..0dbd2b27d3a 100644 --- a/docs/docs/get_started/introduction.mdx +++ b/docs/docs/get_started/introduction.mdx @@ -34,7 +34,7 @@ Concretely, the framework consists of the following open-source libraries: - **`langchain-community`**: Third party integrations. - Partner packages (e.g. **`langchain-openai`**, **`langchain-anthropic`**, etc.): Some integrations have been further split into their own lightweight packages that only depend on **`langchain-core`**. - **`langchain`**: Chains, agents, and retrieval strategies that make up an application's cognitive architecture. -- **[langgraph](/docs/langgraph)**: Build robust and stateful multi-actor applications with LLMs by modeling steps as edges and nodes in a graph. +- **[langgraph](https://langchain-ai.github.io/langgraph/)**: Build robust and stateful multi-actor applications with LLMs by modeling steps as edges and nodes in a graph. - **[langserve](/docs/langserve)**: Deploy LangChain chains as REST APIs. The broader ecosystem includes: @@ -78,7 +78,7 @@ LangChain Expression Language (LCEL) is the foundation of many of LangChain's co ### [πŸ¦œπŸ› οΈ LangSmith](/docs/langsmith) Trace and evaluate your language model applications and intelligent agents to help you move from prototype to production. -### [πŸ¦œπŸ•ΈοΈ LangGraph](/docs/langgraph) +### [πŸ¦œπŸ•ΈοΈ LangGraph](https://langchain-ai.github.io/langgraph/) Build stateful, multi-actor applications with LLMs, built on top of (and intended to be used with) LangChain primitives. ### [πŸ¦œπŸ“ LangServe](/docs/langserve) diff --git a/docs/docs/modules/agents/agent_types/xml_agent.ipynb b/docs/docs/modules/agents/agent_types/xml_agent.ipynb index a8f29dd424e..3b9b3a741c8 100644 --- a/docs/docs/modules/agents/agent_types/xml_agent.ipynb +++ b/docs/docs/modules/agents/agent_types/xml_agent.ipynb @@ -208,7 +208,7 @@ "source": [ "# Custom XML Agents\n", "\n", - "**Note:** For greater customizability, we recommend checking out [LangGraph](/docs/langgraph).\n", + "**Note:** For greater customizability, we recommend checking out [LangGraph](https://langchain-ai.github.io/langgraph/).\n", "\n", "Here we provide an example of a custom XML Agent implementation, to give a sense for what `create_xml_agent` is doing under the hood." ] @@ -365,7 +365,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.4" + "version": "3.10.5" } }, "nbformat": 4, diff --git a/docs/docs/use_cases/sql/agents.ipynb b/docs/docs/use_cases/sql/agents.ipynb index f877ed372d5..b3b73dafa10 100644 --- a/docs/docs/use_cases/sql/agents.ipynb +++ b/docs/docs/use_cases/sql/agents.ipynb @@ -804,7 +804,7 @@ "\n", "Under the hood, `create_sql_agent` is just passing in SQL tools to more generic agent constructors. To learn more about the built-in generic agent types as well as how to build custom agents, head to the [Agents Modules](/docs/modules/agents/).\n", "\n", - "The built-in `AgentExecutor` runs a simple Agent action -> Tool call -> Agent action... loop. To build more complex agent runtimes, head to the [LangGraph section](/docs/langgraph)." + "The built-in `AgentExecutor` runs a simple Agent action -> Tool call -> Agent action... loop. To build more complex agent runtimes, head to the [LangGraph section](https://langchain-ai.github.io/langgraph/)." ] } ], diff --git a/docs/sidebars.js b/docs/sidebars.js index 5b387eeb6dd..a9348205c26 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -153,7 +153,11 @@ id: "langsmith/index" }, }, - "langgraph", + { + type: "link", + label: "πŸ¦œπŸ•ΈοΈ LangGraph", + href: "https://langchain-ai.github.io/langgraph/" + }, "langserve", ] }, diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index de28e0709b7..b7db11a3903 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -245,7 +245,7 @@ nav, h1, h2, h3, h4 { } div[class^=announcementBar_] { - height:40px !important; + height: 72px !important; font-size: 20px !important; }