text
stringlengths
0
3.02k
[3/12/2024 10:32 AM] joe.young.security
What about RAG sources in the code? Where would I find that?
[3/12/2024 12:46 PM] joe.young.security
I did find this https://github.com/open-webui/open-webui/issues/715#issuecomment-1989537672
{Embed}
https://github.com/open-webui/open-webui/issues/715
feat: Improvments to Collections RAG · Issue #715 · open-webui/open...
Describe the solution you'd like Collecting data from a wide range on docs and giving relevant info to a LLM is one of the most common ways to use RAG. There are 3 points wich would improve the...
https://images-ext-1.discordapp.net/external/BelnnmundKflXWPpCKyUFge8MQ-SOi8i5_lb7vVdKLQ/https/opengraph.githubassets.com/c4d741be224505445edb52c8a0a6bda4c297b779f366f491a899ca410a7fdadb/open-webui/open-webui/issues/715
[3/12/2024 1:53 PM] muhammadd_abdul
Hi i have very basic question
Can we customize open wbui page with custom name ?
[3/12/2024 1:55 PM] joe.young.security
It is open-source. You can do whatever the license allows.
[3/12/2024 1:55 PM] joe.young.security
Am I getting warmer?
{Attachments}
https://cdn.discordapp.c…9a62f18ac460ea3&
[3/12/2024 1:57 PM] muhammadd_abdul
@YouSecJoe for example in chat oahe i want to add my personal logo
Is jt possible?
[3/12/2024 2:18 PM] joe.young.security
Yes, anything is possible.
[3/12/2024 2:25 PM] muhammadd_abdul
Thanks
[3/12/2024 2:52 PM] wildtang3nt
it can be done with a custom build without too much difficulty, but you're taking on your own support in that case if any other changes made cause issues
[3/12/2024 2:53 PM] wildtang3nt
we've already dealt with some issues that later were concluded to be caused by people running custom builds not sourced from us
[3/12/2024 4:18 PM] joe.young.security
By chance, do you know what the RAG sources/references are called or where they are defined in the code specifically?
[3/12/2024 4:20 PM] timbk
All RAG logics been moved to the backend recently
{Reactions}
👍
[3/12/2024 4:21 PM] joe.young.security
Yes, correct me if I'm wrong here, but I'm looking in `backend/apps/rag` at `main.py` and `utils.py`.
[3/12/2024 4:22 PM] timbk
There will be more refacs to come but for now yes
{Reactions}
🙌
[3/12/2024 4:22 PM] timbk
those two do the majoritiy of the heavylifting
[3/12/2024 4:23 PM] timbk
and the RAGMiddleware that intercepts the chat completion requests with "docs" field
[3/12/2024 4:23 PM] timbk
which replaces "docs" with "messages" to overly simplify
[3/12/2024 4:24 PM] joe.young.security
Can you point me to a specific line in either of those for the sources/references code? Or it it not in either of them and it is in this RAGMiddleware?
[3/12/2024 4:36 PM] joe.young.security
I get the sense I'm going to feel like an idiot when someone points out how obvious it.
[3/12/2024 4:50 PM] timbk
not sure what you mean by the sources/references code
[3/12/2024 4:50 PM] timbk
I'd suggest you check RAGMiddleware and the files in the rag folder, that's pretty much it