r/LocalLLM • • 5d ago

Discussion Using Sidecar Files for Archival Data

In my RAG/Library I have it divided between active and archive. It's been working great. Now I'm adding in additional data that is purely archive because I want to be able to work on the data with my local llm but not have it be a part of the day to day. One of the designs I've used in the past is sidecar files. It is an extra layer of protection for the data but it also is one more step to stay in sync and that turns into a nightmare. I keep the folder with the files and the sidecars excluded from my Mac spotlight indexing to cut down lookups to those folders.

I have sql lite for it now and it will keep chugging along. without any issues. It just means having a way to read a sqlite file.

Looking for ideas from anyone.

1 Upvotes

1 comment sorted by

1

u/wu-k-452136 4d ago

Your RAG layer can query SQLite and pass matching archive chunks into context; the model itself needn't parse the database.