LangGraph: Avoiding Unnecessary State Persistence #3531
Unanswered
VolanDeVovan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have my application which built on langchain + langgraph and store their state in postgres database using langgraph-checkpoint-postgres
My app have a few runnables which operates State schema
My state splited in 3 object:
This state used in graph.py
I have 3 runnables
character_rag_info passed through State mechanism from 2 step to 3
i faced with problem that my character_rag_info writes in postgres database and takes up a lot of space
How to solve this problem.
I need either a way to pass data around states so that it is not written to the database
Or to pass through the states so that the individual values are not written to the
Please advise how this problem is usually solved when using this stack.
Beta Was this translation helpful? Give feedback.
All reactions