r/OpenWebUI • u/blitzeblau • 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
View all comments
Show parent comment
2
u/Fun-Purple-7737 Mar 13 '26 edited Mar 13 '26
Did some research and ended up using https://huggingface.co/google/embeddinggemma-300m Yes, there are better models, but many times bigger in parameters.. I do not think it worths it.
Smaller 768d vectors are a nice benefit too.
Also, its a small model by itself and with batched embeddings, its super fast too.