Replies: 3 comments 7 replies
|
Currently I'm neck-deep in the RAG topic and Open-WebUI, so I can share my config and some topics: 0: Used Environment Variable: None. Only used the configuration inthe UI. 1: Chosen VectorDB: Chromadb. There are problems that I wrote a fix for in #11876 2: Admin Panel -> Settings -> Documents Knowledge Base Custom model: Chat model is Llama 3.3 70b AWQ on vLLM |
|
I've found that moving to Qdrant has made a significant difference. Happy to share my little use case too: My wife and I are expecting our first child in a few months. We have a few parenting books that we really trust. I've created a knowledge store where I upload TXTs and then connected a model ("Our Parenting Books") to that store. What I've noticed is that, as is always the case, the more you can chunk your material the better. The first time I did this I uploaded the entire books in one go and on this approach I separated them by chapters It seems to make it a bit easier for the model to pull in only what's necessary. The technical parameter stuff is very complicated and I've tweaked that a bit but I think these fundamentals matter too. |
Great idea re: documenting ideas for implementation too. The only question that I have regarding RAG that I haven't. thought of an answer to is this: How does OpenWebUI handle the actual embedding and retrieval with the vector stores? Let's say that I want to upload a mixture of CSV data and books as mentioned above. The same set of embedding settings is not going to be optimal for both of these data stores. With the ability to only set one set of parameters, what's the recommendation or thinking as to how to handle that? |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
As many have asked in this discussion section on GitHub and Reddit...
What is the best practice for chatting with documents in OpenWebUI?
I'd really like to set up something like a knowledge base wizard/chat with PDF agent.
Having experienced some problems using RAG in OpenWebUI myself, I'd like to ask everyone who has found a working solution for this to share their settings here.
Rag problems are known and f.e. mentioned here #3868
To make this easier, here is a template to fill in (or just paste screenshots):
Used Environment Variable:
Chosen VectorDB:
elasticsearch, chroma, milvus, qdrant, opensearch, or pgvector
Admin Panel -> Settings -> Documents
a) Content Extraction Engine
b) Text Splitter
c) Chunk Size
d) Chunk Overlap
e) Embedding Model Engine
f) Embedding Model
f.1) Embedding Batch Size
g) Full Context Mode (on/off)
h) Hybrid Search (on/off)
h.1) Reranking Model
i) Top K
j) Minimum Score
k) RAG Template
Knowledge Base
a) data format (.pdf, .md, .txt, etc)
a) System Prompt
b) Advanced Parameters
-> name any which aren't "default"
Thank y'all for sharing - let’s (deep)seek the best solution!
@tjbck
If we find a mentionable solution, it could be added to the Docs as best practice
All reactions