Maintain RAG embeddings with OpenAI, Postgres and auto drift rollback
Daily RAG Maintenance Schedule
Source Change Webhook
Workflow Configuration
Fetch Documents from Source
Chunk Documents & Compute Hash
Fetch Previous Chunk Hashes
postgres
Detect Changed Chunks
comparedatasets
OpenAI Embeddings
noOp
Recursive Text Splitter
noOp
Document Loader
noOp
New Vector Store (Candidate)
noOp
Store Embedding Metadata
Save Embedding Version Metadata
postgres
Fetch Golden Questions
postgres
OpenAI Chat Model
gpt-4.1-mini
Fetch Previous Embeddings
postgres
Calculate Quality Metrics
Calculate Embedding Drift
Quality Improved?
Promote New Embeddings
postgres
Rollback to Previous Embeddings
postgres
Flag for Human Review
Send Notification
Generate Answers (New)
openai
Generate Answers (Old)
openai
Query New Vector Store (Tool)
noOp
Query Old Vector Store (Tool)
noOp
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.