Can I skip checkpointing for subgraphs? #5852
Replies: 1 comment
-
skipping checkpoints in a rag subgraph can work, but you’re basically stepping into what i’d tag as a state continuity blindspot — in my own problem index it’s close to No.7. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋
I'm exploring ways to improve the overall experience of our agentic solution and one idea I’m considering is skipping the checkpointer for our RAG subgraph.
Because of the current solution the checkpointer in Mongo is growing. I am thinking of excluding the RAG search output from the checkpointer by removing the checkpointing from the RAG subgraph as the subgraph is primarily responsible for retrieval and doesn’t carry critical state between steps, avoiding checkpointing here might reduce the checkpointer size without impacting reliability.
Before I proceed, I wanted to check:
Has anyone tried this approach in production?
Are there any hidden pitfalls or best practices I should be aware of?
Would this impact observability or rollback in any significant way?
Appreciate any thoughts or experiences you can share. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions