Open WebUI

Open WebUIEnvironmental requirementsDocker buildOfficial installation of DockerInstall Docker on Alibaba CloudInstall Open WebUIRun Open WebUIAdministrator accountRegister and log inUsing the interfaceModel dialogueSwitch modelsLlama3Qwen2LLaVAPhi-3GemmaWizardLM2FAQClose Open WebUICommon mistakeUnable to start Open WebUIService connection timeout

Demonstration environment

Development Board : Raspberry Pi 500

SD(TF)card:32G(Above 16G, the larger the capacity, the more models can be experienced)

Open WebUI is an open-source project aimed at providing a simple and easy-to-use user interface (UI) for managing and monitoring open-source software and services.

Environmental requirements

Host and Conda installation of Open WebUI: Node. js>=20.10, Python=3.11 required

Environmental construction methodDifficulty level
HostHigh
CondaMiddle
DockerLow

Tutorial demonstration of Docker installing Open WebUI.

Docker build

Official installation of Docker

If Docker is not installed, you can use a script to install Docker.

Download the get docker. sh file and save it in the current directory.

Input the following command to run the get docker. sh script file with sudo permissions.

Install Docker on Alibaba Cloud

If you cannot install it by yourself, please use the image Yahboom provided.

Install Open WebUI

For systems with Docker installed, you can directly enter the following command on the terminal.

image-20240625165755258

Run Open WebUI

Input the following command to start Docker

image-20240625165949940

After successful startup, access the following website in your browser.

Administrator account

The first time you use it, you need to register an account yourself. This account is an administrator account, and you can fill in the information according to the requirements!

Register and log in

image-20240625170215739

image-20240625170312140

image-20240625170428401

Using the interface

image-20240625170507487

Model dialogue

Using Open WebUI for conversations can run slower than directly using Ollama tools, and even cause timeout service connection failures, which is related to the memory of Raspberry Pi 5 and cannot be avoided!

Switch models

Click on 'Select a model' to select the specified model dialogue.

image-20240626172454687

Llama3

image-20240625171803967

Qwen2

image-20240625182216017

LLaVA

Raspberry Pi 5 8G RAM version may cause service connection timeout when recognizing images. It is recommended to directly use the Ollama tool to run the LLaVA model for image recognition!

image-20240625195114062

Phi-3

image-20240625190010663

Gemma

image-20240625192823680

WizardLM2

image-20240625194027373

FAQ

Close Open WebUI

Turn off self-booting Open WebUI

Clean up all containers that have stopped running

Common mistake

Unable to start Open WebUI

Solution: Close Open WebUI once and restart!

Service connection timeout

Close Open WebUI once and restart, then ask again or use Ollama tool to run the model for questioning!