How to Easily Set Up a Neat User Interface for Your Local LLM

Author:Murphy  |  View: 29394  |  Time: 2025-03-23 11:41:54

Image generated by AI (Midjourney) by Author

1 Why Local LLMs

Whether it's due to company restrictions or a desire to handle personal data securely, many have avoided using ChatGPT due to data privacy concerns.

Fortunately, there are solutions that allow unlimited use of LLMs without sending sensitive data to the cloud.

In my previous article, I explored one such solution by explaining how to run Llama 3 locally thanks to Ollama.

Running Local LLMs is More Useful and Easier Than You Think

PREREQUISITE: by the end of that last article we had Llama 3 running locally thanks to Ollama and we could use it either through the terminal or within a Jupyter Notebook.

In this article I explain how to make the use of local LLMs more user-friendly through a neat UI in a matter of minutes!

So this article really is a follow-up where I explain step by step how to run a local Llm through a ChatGPT like user interface – Open WebUI. Spoiler alert: it's surprisingly simple!

Let's get started!


2 Brief Overview of Open WebUI

Open WebUI is an open-source interface for running AI models locally. It allows to chat with your LLM as you would with ChatGPT, through your web browser.

It is compatible with various different LLMs and has a very active community which ensures that the solution stays up to date with the latest models.

The interface is very clean and user-friendly which makes it super intuitive to use. There's even the possibility to switch between local models and fine-tune their hyper-parameters.

Open WebUI quick demo from https://github.com/open-webui/open-webui (MIT License)

Promising!


3 Installing Docker

Well, we did talk about Open WebUI, so what is Docker doing here?

Docker allows you to easily run applications in isolated "containers" on your local computer. This simplifies software installation and ensures consistent, reliable execution across different environments. In other words, it is what we need to run Open WebUI.

To download Docker, just go to docker.com and click download:

Docker.com homepage – screenshot from docker.com – Image by Author

Once it's done downloading, as with any other apps, just follow the very straightforward installation steps.

STEP 1/2:

1- Drag the docker app to your Applications folder to install it

2- Accept the Docker Service Agreement

Steps 1 and 2 – Screenshots from Author – Docker installer

STEP 3/4:

3- You can create a Docker account if you wish, or you can skip this part, it is not necessary in our case

4- Finally, go ahead with the recommended settings to complete the installation of Docker Desktop

Steps 3 and 4— Screenshots from Author – Docker installer

At this stage, docker is now installed and should look like this (I immediately switch to dark mode for obvious reasons):

Docker Desktop homepage – Screenshot from Author

You can minimize Docker for now, as the next step is to install Open WebUI!


4 Installing Open WebUI

To install Open WebUI, go to https://docs.openwebui.com/ :

Tags: AI Llama 3 Llm Ollama open-webui

Comment