From cd53094f2ed2f6c136fa8602ef53bf2d716e1298 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 6 May 2024 16:23:13 -0700 Subject: [PATCH] update readme DAG wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2affb96d7..9a1ef5aec 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ It is inspired by [Pregel](https://research.google/pubs/pub37252/) and [Apache B The current interface exposed is one inspired by [NetworkX](https://networkx.org/documentation/latest/). The main use is for adding **cycles** to your LLM application. -Crucially, LangGraph is NOT optimized for only **DAG** workflows. +Crucially, LangGraph is **NOT optimized for acyclic**, or Directed Acyclic Graph (DAG), workflows. If you want to build a DAG, you should just use [LangChain Expression Language](https://python.langchain.com/docs/expression_language/). Cycles are important for agent-like behaviors, where you call an LLM in a loop, asking it what action to take next.