langgraph/how-tos/persistence_mongodb/ #1054
Replies: 14 comments 17 replies
-
Sometimes, I see that you use |
Beta Was this translation helpful? Give feedback.
-
I cannot find the module in the latest current version 0.1.9 |
Beta Was this translation helpful? Give feedback.
-
Hi! How can I limit the number of previous messages in the memory, so that not all messages are remembered! |
Beta Was this translation helpful? Give feedback.
-
I believe that this example is outdated. |
Beta Was this translation helpful? Give feedback.
-
when using Asynchronous implementation of mongodb, it error out in the new version of langgraph, works in 0.1.9 AsyncBackgroundExecutor.exit(self, exc_type, exc_value, traceback) NotImplementedError: This method was added in langgraph 0.1.7. Please update your checkpoint saver to implement it. |
Beta Was this translation helpful? Give feedback.
-
how do I stream this? config = {"configurable": {"thread_id": "2"}} File c:\Users\PC\anaconda3\envs\myenv\Lib\site-packages\langgraph\pregel_init_.py:1098, in Pregel.astream(self, input, config, stream_mode, output_keys, input_keys, interrupt_before, interrupt_after, debug) TypeError: 'async for' requires an object with aiter method, got Cursor |
Beta Was this translation helpful? Give feedback.
-
Replace: langgraph.serde.jsonplus import JsonPlusSerializer |
Beta Was this translation helpful? Give feedback.
-
Hi all! The guide has been updated with the correct implementtions of |
Beta Was this translation helpful? Give feedback.
-
Thanks for providing this implementation! This is super helpful. One problem I am facing is even if I am setting the My config is Am I missing anything? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I am getting this error does anyone faced the same problem? psycopg.Not SupportedError: the feature 'Connection.pipeline()" is not available: the client libpq version (imported from system libraries) is 13.11; the feature requires libpq version 14.0 or newer |
Beta Was this translation helpful? Give feedback.
-
I am having issue using checkpointer = MongoDBSaver.from_conn_info(
host="localhost", port=27017, db_name="checkpoints"
)
graph = builder.compile(
checkpointer=checkpointer,
interrupt_before=[],
interrupt_after=[],
)
graph.name = "Agent" |
Beta Was this translation helpful? Give feedback.
-
What indexes should be created in MongoDB to support the queries this driver would use? |
Beta Was this translation helpful? Give feedback.
-
Although I'm trying to use thread level persistence, the model seems to remember details from conversation in different threads. Am I doing it wring?
|
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/persistence_mongodb/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/persistence_mongodb/
Beta Was this translation helpful? Give feedback.
All reactions