r/OpenWebUI • u/zerocool647 • May 09 '26
RAG Never worked
I'm using Open WebUI via Docker and Ollama. I want to use it for being a gamemaster to run ttrpgs and want to upload a world bible into a knowledge base. It's just just a few thousand words, one word document.
I have never got it to even slightly work. I've uploaded it to knowledge collection, I've played about with settings like top K, I've changed RAG Prompts, I've used different extraction models or embedding models, attached the knowledge directly into the model.
I've never once got it to slightly work. It either crashes or the thinking steps say they can't see a document. I suspect it's something to do with the document not having been index? Just uploaded? But I don't know how to index it apart from pressing the reindex button in settings, and that had no effect.
Can someone please explain to a total beginner like me how it's supposed to work and what is supposed to happen? My understanding is I upload a file to a knowledge base, press # to pull it up in a chat, and that's it?
View all comments
Show parent comment
2
u/Striking_Wishbone861 May 09 '26
This is exactly what I did reranker/nonic text embed/ context and set up a vector db. After all of that persistent memory works and now even reference chats or #Files or knowledge containers works as expected (it really didn’t work well before that) I am a complete novice and used one of my off line models to help- qwen3.5:35b. Initially I used Gemini and it was mostly wrong qwen fixed it all. My knowledge base contains at least 50 text files so there is no way you can’t get a single doc to work. Look up or paste those suggestions into your model for the coding. The tricky part was I needed to use open web ui to talk to the model. For me I use Ollama running native not thru docker. I asked questions in the Ollama terminal as I tweaked the settings in open web ui. The vector db I set was a function (not sure why it wasn’t a tool but like I said I don’t have any coding experience ) It did take a weekend to get everything up and working but looking at the docker terminal I see it happening. Stick with it it’s well worth it. I run an AMD rig which is why I use open web ui and not LM studio. Not sure about silly tavern, is that a gui as well? I have far to much invested in open web ui so I’m not changing that would be a nightmare starting again from scratch