How to add conversation History to Langgraph Researcher? #1359
Unanswered
RedouanAssakali
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi - glad to hear you are interested in LangGraph! Adding conversation history can be done by using a checkpointer (the MongoDB memory saver in your case) and taking advantage of threads. You can read about how to do that here. Basically each thread will maintain its history and as long as you run the graph on the same thread, the prior state will be preserved - but be careful that your conversation history doesn't get too long or the model might get mad. You can read more about threads here |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use the Tutorial found on pinecone.io : https://www.pinecone.io/learn/langgraph-research-agent/#References.
I added my self MongoDB memory Saver, but i don't understand the logic to add conversation History.
Can someone help me out.
Beta Was this translation helpful? Give feedback.
All reactions