瀏覽代碼

langgraph-agent summary update

Jeff Tang 11 月之前
父節點
當前提交
6d7f6ff91e
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      recipes/use_cases/agents/langchain/langgraph-agent.ipynb

+ 6 - 5
recipes/use_cases/agents/langchain/langgraph-agent.ipynb

@@ -887,12 +887,13 @@
    ]
   },
   {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "026d2c9b-1ba0-495d-8999-efe2bd8a8764",
+   "cell_type": "markdown",
+   "id": "d42667bc-db89-470b-b9f2-f1a148c35266",
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "source": [
+    "Agent Executor is a nice and useful higher-level abstraction, with less code and more abstraction, but harder to audit and less reliable.\n",
+    "LangGraph is lower level, with more code (all the details of each tool use are specified in each node), less abstraction, easier to audit, and more reliable. LangGraph is more effort to implement, but we understand exactly what is going on. In the next [notebook](langgraph-rag-agent), we'll show how to apply LangGraph to build advanced Llama 3 powered RAG agents."
+   ]
   }
  ],
  "metadata": {