2.Dialogue platform installation

Demo Environment

Development boards:Jetson nano

SD(TF) card:64G

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

Environmental requirements

Install Open WebUI on the host and Conda: Node.js >= 20.10, Python = 3.11:

Environment construction methodDifficulty Level
HostHigh
CondaMiddle
DockerLow

Tutorial demonstrating how to install Open WebUI with Docker.

Docker Build

Official installa Docker

If Docker is not installed, you can use the script to install Docker in one click.

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

Run the get-docker.sh script file with sudo privileges.

Install Docker by Alibaba Cloud

If you cannot install it yourself, please use the system by we provided.

Install Open WebUI

For systems that have Docker installed, you can directly enter the following command in the terminal:

The picture shows the result of the installation.

image-20240705091240352

Run Open WebUI

Input following command to to start Docker:

image-20240705091527071

After successful startup, enter the following URL in the browser to access.

Administrator account

For the first time use, you need to register an account yourself. This account is an administrator account, and the information can be filled in as required!

Register and log in

image-20240705091637996

image-20240705091646884

Since we have already registered: admin account, just log in directly!

User interface

image-20240705091812406

Model Dialogue

Using Open WebUI for conversations will be slower than using the Ollama tool directly, and may even result in a timeout service connection failure. This is related to the memory of Jetson Nano and cannot be avoided!

Switching models

Click Select a model to select the specified model dialog.

image-20240705091850768

Demo: Qwen2

image-20240705092150368

FAQ

Close Open WebUI

Close the automatically started Open WebUI

Common Mistakes

Unable to start Open WebUI

Solution: Close Open WebUI and restart it.

Service connection timeout

Close Open WebUI and restart it, then ask the question again or run the model with the Ollama tool to ask the question.