LangGraph Advanced Persistance - Custom Checkpointers

preview_player
Показать описание
This is an advanced video on how to implement custom, advanced checkpointers with LangGraph.
Рекомендации по теме
Комментарии
Автор

You are a legend man. Thanks for all these videos.

lbasavaraj
Автор

dude big thanks for every video you upload i've learned a lot from your videos

chakerayachi
Автор

thanks for the timely tutorial, very helpful

abhishekchintagunta
Автор

thank you very much, Can you send the link to the code, please?

mahmoudghareeb
Автор

What about if we have already a legacy chat memory in some format ... like millions of rows in many conversations, I would like to use the redis checkpointer and use the checkpointer like a short term memory with expire timer (that solves the problem with memory build up also). Then if the graph is without a checkpoint at current state I can use the long-term history for loading a list of the Human/AI messages + new HumanMessage ... Thanks for the video, not many people talking about the memory management and if you are using it in production env it's a problem, I wish there will be a more streamlined alternative for this

todormishinev
Автор

Great video (as always). Quick question. I am running into an error in cell 11 where we execute this line for the first time:
runnable.invoke({"messages": input_message}, config=config)

The error says:
"UndefinedTable: relation "checkpoints" does not exist"

I have run all prior cells (the Postgres database seems to be up and running). Any ideas? Thank you!

b
Автор

Hey man, I'm little confused, lets say I wanted to show updated message history with every new message coming from user (api call from frontend) So if im using langgraph all I need to do is generate thread id (when new conversation is initiated) correspond to user id in my backend, and return the response to user where I can map the human and ai message?

say.xy_
Автор

InterfaceError: connection already closed.

Thanks for this video! I am getting this error when I pick up a conversation from session history. How do I keep the connection open for long?

revathitalla
Автор

I am still confused, is Persistance used for adding ChatHistory?
Why are we not using ChatMessageHistory?
Can we use ChatMessageHistory in our Langgraph ChatBots?

Investwithwisdome
Автор

Apart from latest checkpoint, all the previous checkpoints are not used anywhere and containing redundant information that already latest checkpoint has, why are we storing them ?
Why cant we just update the existing row for a thread_id in the put function instead of inserting new row

sktime