Skip to content

Commit 6ed4695

Browse files
authored
styling and edits (#159)
Figma: https://www.figma.com/design/0fqpnABmOK5FCfv3STMOrF/LS---August?node-id=10176-5480&m=dev Preview: TBD Mintlify CSS docs: https://mintlify.com/docs/settings/custom-scripts#custom-css - Mostly need to figure out the header stuff (product dropdown and language picker)
1 parent 13ccfcf commit 6ed4695

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+446
-95
lines changed

src/docs.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"$schema": "https://mintlify.com/docs.json",
3-
"theme": "maple",
3+
"theme": "aspen",
44
"name": "Docs by LangChain",
55
"description": "Documentation for LangChain, LangGraph, LangGraph Platform, LangSmith, and more.",
66
"colors": {
7-
"primary": "#beb4fd",
8-
"light": "#beb4fd",
9-
"dark": "#1d3d3c"
7+
"primary": "#2F6868",
8+
"light": "#84C4C0",
9+
"dark": "#84C4C0"
1010
},
1111
"logo": {
1212
"light": "/images/brand/langchain-docs-teal.svg",
1313
"dark": "/images/brand/langchain-docs-lilac.svg",
14-
"href": "https://docs.langchain.com/langgraph-platform"
14+
"href": "https://docs.langchain.com/oss/python"
1515
},
1616
"favicon": {
1717
"light": "/images/brand/favicon.svg",
1818
"dark": "/images/brand/favicon-dark-mode.svg"
1919
},
2020
"fonts": {
2121
"heading": {
22-
"family": "Manrope"
22+
"family": "Inter"
2323
}
2424
},
2525
"styling": {

src/hide-version-picker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
button.classList.add('version-picker-button');
2929
}
3030
});
31+
3132
}
3233

3334
// Run immediately

src/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mode: "wide"
88

99
# Frameworks
1010

11-
<CardGroup cols={3}>
11+
<CardGroup cols={2}>
1212
<Card
1313
title="LangChain - Python"
1414
href="https://python.langchain.com/docs/introduction/"
@@ -25,7 +25,7 @@ mode: "wide"
2525

2626
<Card
2727
title="LangGraph"
28-
href="/oss"
28+
href="/oss/python"
2929
>
3030
Low-level orchestration framework for building, managing, and deploying long-running, stateful agents.
3131
</Card>

src/oss/1-build-basic-chatbot.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ title: 1. Build a basic chatbot
33
---
44

55
import ChatModelTabs from '/snippets/chat-model-tabs.mdx';
6+
import V1Alpha from '/snippets/v1-alpha.mdx';
7+
8+
<V1Alpha />
69

710
In this tutorial, you will build a basic chatbot. This chatbot is the basis for the following series of tutorials where you will progressively add more sophisticated capabilities, and be introduced to key LangGraph concepts along the way. Let's dive in! 🌟
811

src/oss/2-add-tools.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: 2. Add tools
33
---
44

5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
9+
510
import chatTabs from '/snippets/chat-model-tabs.mdx';
611

712
To handle queries that your chatbot can't answer "from memory", integrate a web search tool. The chatbot can use this tool to find relevant information and provide better responses.

src/oss/3-add-memory.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: 3. Add memory
33
---
44

5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
9+
510
import chatTabs from '/snippets/chat-model-tabs.mdx';
611

712
The chatbot can now [use tools](/oss/2-add-tools) to answer user questions, but it does not remember the context of previous interactions. This limits its ability to have coherent, multi-turn conversations.

src/oss/4-human-in-the-loop.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: 4. Add human-in-the-loop controls
33
---
44

5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
9+
510
import chatTabs from '/snippets/chat-model-tabs.mdx';
611

712
Agents can be unreliable and may need human input to successfully accomplish tasks. Similarly, for some actions, you may want to require human approval before running to ensure that everything is running as intended.

src/oss/5-customize-state.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: 5. Customize state
33
---
44

5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
9+
510
import chatTabs from '/snippets/chat-model-tabs.mdx';
611

712
In this tutorial, you will add additional fields to the state to define complex behavior without relying on the message list. The chatbot will use its search tool to find specific information and forward them to a human for review.

src/oss/6-time-travel.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: 6. Time travel
33
---
44

5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
9+
510
import chatTabs from '/snippets/chat-model-tabs.mdx';
611

712
In a typical chatbot workflow, the user interacts with the bot one or more times to accomplish a task. [Memory](/oss/3-add-memory) and a [human-in-the-loop](/oss/4-human-in-the-loop) enable checkpoints in the graph state and control future responses.

src/oss/GRAPH_RECURSION_LIMIT.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
title: GRAPH_RECURSION_LIMIT
33
---
4+
5+
import V1Alpha from '/snippets/v1-alpha.mdx';
6+
7+
<V1Alpha />
8+
49
Your LangGraph [`StateGraph`](https://langchain-ai.github.io/langgraph/reference/graphs/#langgraph.graph.state.StateGraph) reached the maximum number of steps before hitting a stop condition.
510
This is often due to an infinite loop caused by code like the example below:
611

0 commit comments

Comments
 (0)