The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: Replaced SqliteSaver with MemorySaver and updated installation instru… (#25285)
Hassan-Memon420534c8ca63
diff --git a/docs/docs/tutorials/qa_chat_history.ipynb b/docs/docs/tutorials/qa_chat_history.ipynbindex aa1cae5265..ef8a47be3d 100644--- a/docs/docs/tutorials/qa_chat_history.ipynb+++ b/docs/docs/tutorials/qa_chat_history.ipynb@@ -857,9 +857,9 @@"metadata": {},"outputs": [],"source": [- "from langgraph.checkpoint.sqlite import SqliteSaver\n",+ "from langgraph.checkpoint.memory import MemorySaver\n","\n",- "memory = SqliteSaver.from_conn_string(\":memory:\")\n",+ "memory = MemorySaver()\n","\n","agent_executor = create_react_agent(llm, tools, checkpointer=memory)"]@@ -1022,10 +1022,10 @@"from langchain_core.runnables.history import RunnableWithMessageHistory\n","from langchain_openai import ChatOpenAI, OpenAIEmbeddings\n","from langchain_text_splitters import RecursiveCharacterTextSplitter\n",- "from langgraph.checkpoint.sqlite import SqliteSaver\n",+ "from langgraph.checkpoint.memory import MemorySaver\n","from langgraph.prebuilt import create_react_agent\n","\n",- "memory = SqliteSaver.from_conn_string(\":memory:\")\n",+ "memory = MemorySaver()\n","llm = ChatOpenAI(model=\"gpt-3.5-turbo\", temperature=0)\n","\n","\n",