Ollama UI Tutorial - Incredible Local LLM UI With EVERY Feature
ฝัง
- เผยแพร่เมื่อ 4 มิ.ย. 2024
- Open WebUI is a fantastic front end for any LLM inference engine you want to run.
Sign up for a free 14-day trial at aura.com/matthewberman
Aura is sponsoring this video
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewberman.com
Need AI Consulting? 📈
forwardfuture.ai/
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
👉🏻 Instagram: / matthewberman_ai
👉🏻 Threads: www.threads.net/@matthewberma...
Media/Sponsorship Inquiries ✅
bit.ly/44TC45V
Links:
github.com/open-webui/open-webui - วิทยาศาสตร์และเทคโนโลยี
As a contributor (merged one single PR 😊) but mostly a very early adopter of this project, I'm always stoked to see people talking about open-webui
great project! I just covered it on my channel too. congrats!
Nice
What was your PR about? ❤
Watching this video makes me wanna go add some stuff too,
Things I caught from Matthew: RAG loading indicator until files are avail. Get new models in UI rather than term.
Things I wish to add: litellm, groq adding pipelines and flows not just prompts, adding #folder to context, easier installer that checks docker etc with Houston assistant. OpenInterpreter integration. OpenUI integration + Developer Mode, Tester Mode, Rapid Feedback, Obvsf API Pools, Import ChatGPT & Claude History, Stars, Topics (connected threads), Timelines, Search Hist, Actions, Prompt Refinements, Self Improvement, Skill Library, Image Gen & Editing. Song Gen, Incognito thread, global/group chats. Sign in from phone/multi device. Agents and Clients Dashs.
I have been using it for a while. A great UI
@@fire17102awesome yeah please add all that stuff
This is definitely my local go-to now. What an amazing project.
Могу я там исп llmstudio?
Wow, you too?
I've been with you for over a year and it's been amazing watching you dominate this LLM news space. For example your snake game has become a standard in the industry now!!! Like you, I'm constantly in the LLM lab and I'm constantly coming across your name with a quote regarding a large language model. Awesome job carving out a niche - MUCH LOVE FROM NEW ORLEANS 🔥💪
Few more cool features
1. Image generation. I hooked this up to both local automatic1111 and DallE3 with api key. It's a bit of an odd workflow. You prompt it and the response will have a little pic button under it. I loaded a model finetuned for image prompts so response is cool.
2. Hook up openai models for chat choices with your api key.
3. Pull any llava model and you can hit the plus button to load a picture and ask questions about it.
You can actually skip the git clone step. everything is contained in the docker image.
I don’t usually post messages, but your video changed that. Very well done! I followed your steps, and within minutes, I had LLama3 running on Open-webUI with Docker on Ollama on a Windows computer. Thank you, Sir. Keep up the great work!
just got this installed, thanks for the quick tutorial 🙂
can't wait to explore all the features
Thank you for your inspiration! That´s awesome!
Thank you. Best tutorial on youtube. Very clear.
I was fishing yesterday... unbelievably, thank you! Ps.: Can you make a video about WebUI + Open Interpreter + LLM Local or LM Studio? Thanks
Really awesome. This is something I’ve been looking for for a long time. The one I built myself is terrible.
I been using this combo for a very long time, as wellive edited my docker container with owu and and customized the ui with my titles features etc. Thx for the vid, ppl r going to love this.
Can you tell me how you did it? It would be a great help.i want to customise the ui
for those who use raycast on mac there is an extension that you can do most of these features with a single shortcut. its very cool. you can use custom modelfiles too.
merci, j'ai réussi à l'installer sur Linux mint depuis quelque jours et c'est vraiment super pour le local !
Another superb, insanely useful how-to vid!
A noob question: Setting this up with Docker vs Anaconda, the config with Python version and all the supporting libraries and package becomes the default for that user account on your computer, correct? (I’m on a Mac like you, and don’t think this is an issue at all for me, just wanted to understand the setup better.)
amazing tutorial, thanks!!
how do you know the chunking methods for the embedding?
Thanks for creating this video with clear instructions!!
After running this UI with llama3, the responses that I get is very slow even to those simple questions, e.g. how are you?. Is having GPU in my machine must to use this with proper speed?
Yes I knew talking about anticipation would put you over the top to release😂
What we need is multi-prompt templates (series of prompts, one at a time), including step repeat. This way we can have the LLMs reflect on its previous answer before executing the next step in the series.
what gpu server provider you use for your language model deployment? or do you only need gpu power for training?
can you create chat agents from those ollama deployed chat models?
im just getting into stuff and some of your videos are nice to follow
Mil gracias .. bien explicado
Another extremely informative video! I have an idea for a follow-up video: I would love to see a tutorial on how to secure the docker container with https / ssl. I am trying to figure this out through experimentation and have so far been unsuccessful. Thank you again for your great content!
Amazing project, can I also connect it to external APIs? Like groq?
Can it handle the processing of documents with tables? Will an OCR like Tesseract be needed? Any suggestions
Supposedly they are working on implementing a perplexity style search too! Pretty slick
Like web?
@@jarad4621 Yes web
If they get something like that it's game over for the rest of the opensource interfaces!
Can you use page-assist with openweb ui?
Great work Matt. can we get it to run the rabbit R1 locally?
Anyone know which terminal software Matthew uses for his? That auto complete is a nice feature and would love to add it to mine
How do you feel this compares to the newest LM Studio? It looks like it’s lacking on the advanced settings.
It would be great to see a comparison between ollama and lm studio explaining the benefits and reasoningg of when to use each. The one thing i havent seen much of is how to leverage (if possible) other models from huggingface within ollama. This is easy to do in LM studio. For most other thigs i prefer ollama but i tend to use LM studio to test new models that ollama might not have readily available.
Same here. I prefer LM Studio and use it across networks hosted from a server. Not quite the same with ollama. Going to experiment with open-webui and see if it can connect to LMStidio with some code tuning.
Ask perplexity pro new model Bout it really good now based on llama 70b
I dont know very much but i have passion on this. now, to run this as you are doing one must have a pc that packs quite a punch, is that right?
Will try it This coming week! Have you or anyone tried the "Chat with RTX" by NVIDIA? I am trying to go through the setup giving it directories to intake BUT it failed on most expecting zip files... I recall you had covered "Private GPT" before, would it be able to do the same thing intended for Chat with RTX? I bought a new system with a 4060TI 16gig and 32 gig RAM, 1 TB SSD with 2 TB HDD, windows 11... It should run well but currently crawling while Parsing Nodes... any guidence woudl be greatly apreciated!
man thank you this is the most comprehensive easiest way to install this. I had ollama before but with open webui it's a game changer. Do i need to run the app docker before each time or it will auto boot when computer starts ?
You can change the services that start with the computer by typing MSCONFIG after hitting Windows+R. If you see Docker in the list it will boot with computer
Impressive, this is having all - except support for my local language (what ChatGPT do have).
Pleas can somebody tell me the difference between the llama 3 latest or nornal one for example and the instruct verrsion, they are seperate on ollama
can you link the video where you install docker.. i cant seem to find it..
Great video. Thanks! fyi - In the install section, it's not necessary to clone the repo before running docker.
Is posible install this in a Rpi5 with Coral and use from multiple sources like Home Assistant or mi custom app?
Hey matt, can you tell us how you setup your terminal? (which terminal software you use, addons, etc). Was also hoping you can create a video testing which LLMs do the best at text summarization for large documents / transcripts
We have been using Chabot-ui and enjoy the built in tools and assistants libraries.
Keeping an eye on these other repos until a true leader emerges.
Does it have web?
@jarad4621 web search? It needs to be added as a tool/skill.
This comes so close
Quick question I am looking for a single installation that allows running LLMs locally and has a front end that includes text-to-speech and speech-to-text, with a backend that allows me to attach from the local network from other machines to provide LLM services the kicker is I would like to to add all interactions into a rag from both front end and back end services to allow "learning"
The idea is to have 1 pc providing all my AI needs locally for home automation, assistance, and various library/research/content generation services on my local network and continuing to learn about me and my needs as time passes (ultimately to be my interface with the internet in general) and help/lead would be greatly appreciated.
Thanks! Great video!
Can you do bit different scenario : LLM engine (Ollama, llama.cpp or something else) running on dedicated hw with GPU acc. and frontend in local machine (vm/container/conda env).
I'v been using ollama on hw with GPU's and frontends in VM or container since they started supporting OpenAI API .. but very mixed results. Idea is that opensource LLM backends are quite stable now .. few upgrades, new features and bugfixes. Just download new model when something interesting appears.
But frontends and other implementations are still Wild West and better kept in easily recyclable format :)
Does it have a memory feature? Wonder if it can be used as an ongoing "database" per-se
Can you do function calling with open webui and design ai agent workflows?
Wow I just built a virtual AI girlfriend using ollama. I'm trying it on Llama3 model, and recently migrated to one of the uncensored models. Good-bye wife, hello AI - LOL.
in case this helps someone. to run linux images on windows, you need to switch to linux containers, which will use wsl2. you do this by rightclicking on docker running in taskbar, and selecting switch to linux containers.
I have tried the blulk load feature in the documents , it does not work , cannot change the embedding models as well , after the restart it keeps defaulting to the original. There is a ticket in the github for exactly this . However I have not heard back from the team.
Does anyone know how to make the open-webui interface accessible from my phone on the same network? I'm used to being able to add --listen to a gradio webui and access it anywhere on the network, but I haven't seen anyone do that with this one.
I used yarn in the plane to discuss with phi3 about astrophysics. It was epic. At some point, it becomes slow (llama3 started out slow), so I would read for a minute something else and return to its response and continue the chat. It was great. I so hate the offline time on planes, but having a gpt (or 10) on you computer really helps. Also very funny how my battery would drop on burst every time I press enter, lol. It takes juice generating those responses. But again, it's pretty cool. I think at some point I wanted to install ollama ui but the docker part lost me.
have you tried Silly tavern? its more geared towards characters and roleplay but has some nice features and a fully customizable ui
I tried docker on Windows 11 and within the instance it would work but not across the machine and I used the proper switch to run it.
Question about these embedding models. I _thought_ that adding your own document makes and "embedding" loaded into the LLM for you to search your document. But what are those embedding models that you can define in the gui settings? I can't quite figure out why i'd want them or what they are used for..
I just learn this myself. Apparently embedding is a seperate thing or app or code that does that part so you actually need the database and an embedding model only to be able to save stuff in. vector you don't need the llm yet only once it's saved by the embedder then you can retrieve from the db with your lmm and rag, the main llm doesn't save the data only fetches it later
@@jarad4621 Thank you for your reply! I've read it about 10 times but still don't think i'm following you entirely. I get that you don't train your main LLM for your custom data. That's what the whole RAG thing is about. But with RAG you end up with a vector database that your main LLM can use to provide better results for specific subjects. Thus far i get it.
But what is that "embeddings llm" like "nomic-embed-text"? I can't figure out how you use it, where you use it or what to do with it.. Just guessing here, or is there some kind of model hierarchy? Does it follow a path like llama -> nomic-embed-text -> own vector db? In which case the "nomic-embed-text" would be the one interacting with my data, not llama like it would be in a classic RAG setup? 99% guesses here, i just don't know.
My go to channel for learning how not to write the game snake in python
there is no voice calling feature in it like chatgpt has now on the phone right?
Does it support image processing or is there anyway in which you could add image processing capabilities
Under settings there is a way to link this UI to an existing image generator like Automatic111 or ComfiUI.
Llava model allows you to ask questions about images. Hit + next to prompt field to upload pic. Then ask away. Wasn't great generating code from mock, but answered general questions ok.
its on Pinokio as well
Hey! Love your videos! and yes, I'm your first commenter of this video
I clicked hella fast because I thought I missed an update from ollama XD love openui though!
What's the advantage of this over LMStudio?
Not asking which one is better, but on what use cases they excel over the other.
For one thing, Open WebU is open source, which means that you'll be able to use it forever for free, for commercial or personal use (that and all the other advantages of it being FOSS, like more security, a nice and supportive community, etc.). That being said, LMStudio is easier to install.
do we really need to do the git clone. I think it is enough we do docker run
what minimum reqs? an i install it on simple vps?
I was hoping someone else would handle all the heavy lifting with the UI, as it was somewhat of a turn-off for me to read replies in the shell. Thank you for sharing it!
Why would I use this over autogen? Looks pretty similar
Do these solutions have an API available, like openai? I'd like to just easily replace openai for some of my projects.
yes
just make sure you don't use update models functionality if you have some models as ollama author pointed, until they implement model hash comparisons
I prefer ooba text Gen webui as it’s more customizable. The RAG implementation is not something I’ve tried before. I guess I’ll give it a try.
Is it able to access SQL, web search engines?
I have other videos where I show you ... please link them in the description!!!
Two dumb dumb questions: I just read about Gradient AI offering Llama with a 1M and 4M context window. Would that work with this? Is that a factor of what they did to it? Really would like to have a 2nd alternative to the 1M context window at Gemini 1.5 Pro. Final question, I have a pretty strong gaming laptop, CPU MARK of around 23,000, but no uber graphics card worth noting, it does have an nVidia chip in there somewhere. How fast would this setup be? Maple syrup, or ChatGPT 4 speed? (And does that RAG repo act like a context window, or it just provides documents when required?)
using a 256k context window requires at least 64GB of memory. Using a 1M+ context window requires significantly more (100GB+). Check out the model page in ollama library for more details.
As for your pc... try it... it will depend on models, but some of these will run ok on just cpu and I think you might eek something from your gpu. I think you'll be fine with phi3, llama3 and mistral.
Can i have ollama, llama3 and the open web UI on a MacBook pro m1 with a 16gb ram?
That’s exactly what I’m running, so yeah, you can
@@capoyeti thank you
Great tutorial!
Matthew, could be awesome a podcast with David Ondrej. He is inviting you in his videos. I'd love you both to talk about this tools. I'm using Anything LLM with LM Studio. What is the difference with Ollama with Ollama UI? thank you for your videos.
There is an agentic system that runs on Groq, might be worth checking out, I can't remember the name.
AutoGroq?
Thank you. I just NEED to decide on which GPU to buy.
Btw. Why do 6% of the people in your poll believe GPUs should be regulated?
Maybe 6% of his audience are OpenAI employees. 😂
How does it compare with Anything LLM?
Anything LLM is way clunkier, all models i have tried act like quite dumb
I wonder how it could be best accessed via iPhone GUI?
Matthew, as a doctor and entrepreneur in private practice, I am grateful for the insights and skills I have learned from your TH-cam videos. I do not usually comment on videos, but yours is exceptional. Your content is practical and directly applicable to my profession, where we are constantly analyzing massive documents with sensitive data. And now, this is possible locally on my machine, fully HIPAA compliant! Thank you again and I cannot wait for what happens next :)
We need local GPTs do you have one?
Perfect!
Great video
Could this work on Jan?
Can you add uncensored model to it?
Can this work on an Intel Mac?
HEADS UP your first acct is your admin acct, if you update owu or ollama, or dkr, make sure you follow the instructions or it will lose your user name and password and you wont have admin anymore, and its a pain to straighten it out, doable, I did it, but a pain.
Did not explain how to update and still keep all the settings intact!
I dont think i understand, can this be used as a UI for a particular platform or device, or is it just a standalone thing? I mean, would this work as a UI instead of windows or Android, or is this a toy?
its local on your pc
Your video about this software comes way too late to be honest. The guy behind this project had made this thing awesome like year and a half ago. But it is nice that you did it anyway people need to know about this project and support it since rly rly good. Keep up the good work ;)
This version supports llama3 1M context?
Prefer lobe chat as then multiple local and remote api can be configured at the same time
Can you recommend some other chat ui which supports model like llama 3 etc
Open WebUI allows you to configure multiple local and remote APIs simultaneously. I have it set up with Ollama but also OpenAI, Mistral and Groq all at once.
UI looks nice, but UX wise it's still not mature
how large is the content window ?
depends on the model you're running. I believe each model comes with its own default and you have to start mucking with ollama model files if you don't like the default. Gradient llama3 is supposed to have quite large one.
if you using docker you dont have to clone that git repo to run it.
How to enable web access and function calling to this?
It's not possible at the moment.
can i connect with groq??
Show how to use the local installation from mobile phone
Is this better than LM Studio, does it support RAG and web access?
Yeah, it supports RAG and and web access (but not web search!).
I have already downloaded many models that I use with Oobabooga and LM Studio (Thank you for suggesting LM Studio, it's a good software. Shame it does not support EXL2). But, I don't want to download models specific to Ollama.
youtube TellSell channel for AI services :P
How is the API?
Are there any gpt4 level multi modal models in the open source community yet? I wanna stick a several hundred page asme code document into one of these models
Yep llama 3 70-b, command r plus it also beats some of gpt 4 predecessors
@@abdullahazeem113 Tyvm didnt realize it was multi modal
@@joe_limon oh you can make your own or use reka i use it or you can use hugging face chat or coral cohere it supports both web searching text based documents etc
@@joe_limon oh okay use reka coral cohere etc
You were going to say we could have multiple llamas loaded weren't you?
I really wish people would start being more original with their ui. If I wanted my front end to look just like ChatGPT then I would just use ChatGPT free lol. That’s why I like LMStudio. Only thing holding me back from using it more often is the lack of voice features.