ragrails ingest to rebuild sources, ragrails edit to replace known chunk IDs, and ragrails delete to remove stale IDs.
Refresh a Source
For simple refreshes, runingest again against the changed source. New chunks are upserted by ID.
Edit Known Chunks
edit reads chunk dictionaries from JSON files, re-embeds them, and replaces stored chunks by exact ID.
Delete Stale Chunks
Practical Manifest Pattern
- Save extraction/chunking output during ingest when you need auditability.
- Store the produced chunk IDs in your own manifest by source path or URL.
- On refresh, ingest or edit the changed source.
- Delete IDs from the old manifest that no longer exist in the new output.
- Run
ragrails queryto verify the expected chunks are retrieved.
Options
edit
delete
Storing
Use store, edit, and delete directly.
Retrieval
Verify updated chunks.

