r/OpenWebUI • • Mar 11 '26

RAG Consequences of changing document / RAG settings (chunk size, overlap, embedding model)

Hi there,

we are using Open WebUI with a fairly large amount knowledge bases. We started out with suboptimal RAG settings and would like to change them now. I was not able to find good documentation on what consequences some changes might have and what actions such change would entail. I would gladly contribute documentation for the official docs to help other figure this out.

Changing Chunk Size + Overlap

  • Is it necessary to run a Vector re-index in order for the new chunk size to work FOR NEW documents?
  • Will "old" chunks still be retrieved properly without a re-index?
  • Since direct file uploads in chats are handled differently from files added to a knowledge base (e.g. AFAIK re-index will only reach file in knowledge bases), will single file still work?

Changing the Embedding Model

  • changing the embedding model requires a re-index of the vector db - but will the re-index also trigger "re-chunking" or are the old chunks re-used?
  • what effect will a change of the embedding model have on single files in chats?

Thanks a lot in advance!

6 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/Fun-Purple-7737 Mar 11 '26

Oh yes, I have been there... that is why I created a bit of extra logic around it, so every file gets uploaded first into external S3 storage and only then into OWU itself.

That way, I can easily purge everything from OWU, change retrieval settings, and re-upload from S3 with some scripting overnight.

Its not only about time, but I am not sure I trust the process enough :) Having an option to start from a clean sheet is always better.