diff --git a/docs/docs/concepts/langgraph_studio.md b/docs/docs/concepts/langgraph_studio.md index 988219fb9..cdd8ef00c 100644 --- a/docs/docs/concepts/langgraph_studio.md +++ b/docs/docs/concepts/langgraph_studio.md @@ -21,7 +21,7 @@ Key features of LangGraph Studio: - Visualize your graph architecture - [Run and interact with your agent](../cloud/how-tos/invoke_studio.md) -- [Manage assistants](../cloud/how-tos/studio/manage_assistants.md.md) +- [Manage assistants](../cloud/how-tos/studio/manage_assistants.md) - [Manage threads](../cloud/how-tos/threads_studio.md) - [Iterate on prompts](../cloud/how-tos/iterate_graph_studio.md) - Manage [long term memory](memory.md) @@ -33,7 +33,7 @@ Studio supports two modes: ### Graph mode -Graph mode exposes the full feature-set of Studio and is useful when you would like as many details about the execution of your agent, including the nodes traversed, intermediate states, and LangSmith integrations (such as adding to datasets an playground). +Graph mode exposes the full feature-set of Studio and is useful when you would like as many details about the execution of your agent, including the nodes traversed, intermediate states, and LangSmith integrations (such as adding to datasets and playground). ### Chat mode diff --git a/docs/docs/concepts/low_level.md b/docs/docs/concepts/low_level.md index bd75f026e..755a9e4ba 100644 --- a/docs/docs/concepts/low_level.md +++ b/docs/docs/concepts/low_level.md @@ -105,7 +105,7 @@ graph.invoke({"user_input":"My"}) There are two subtle and important points to note here: -1. We pass `state: InputState` as the input schema to `node_1`. But, we write out to `foo`, a channel in `OverallState`. How can we write out to a state channel that is not included in the input schema? This is because a node _can write to any state channel in the graph state._ The graph state is the union of of the state channels defined at initialization, which includes `OverallState` and the filters `InputState` and `OutputState`. +1. We pass `state: InputState` as the input schema to `node_1`. But, we write out to `foo`, a channel in `OverallState`. How can we write out to a state channel that is not included in the input schema? This is because a node _can write to any state channel in the graph state._ The graph state is the union of the state channels defined at initialization, which includes `OverallState` and the filters `InputState` and `OutputState`. 2. We initialize the graph with `StateGraph(OverallState,input=InputState,output=OutputState)`. So, how can we write to `PrivateState` in `node_2`? How does the graph gain access to this schema if it was not passed in the `StateGraph` initialization? We can do this because _nodes can also declare additional state channels_ as long as the state schema definition exists. In this case, the `PrivateState` schema is defined, so we can add `bar` as a new state channel in the graph and write to it. @@ -167,7 +167,7 @@ In addition to keeping track of message IDs, the `add_messages` function will al {"messages": [{"type": "human", "content": "message"}]} ``` -Since the state updates are always deserialized into LangChain `Messages` when using `add_messages`, you should use dot notation to access message attributes, like `state["messages"][-1].content`. Below is an example of a graph that uses `add_messages` as it's reducer function. +Since the state updates are always deserialized into LangChain `Messages` when using `add_messages`, you should use dot notation to access message attributes, like `state["messages"][-1].content`. Below is an example of a graph that uses `add_messages` as its reducer function. ```python from langchain_core.messages import AnyMessage