Using Open WebUI
- WHAT?
Open WebUI is a Web-based application that allows you to interact with AI models.
- WHY?
To understand what Open WebUI is and learn how to use it to effectively interact with AI models.
- EFFORT
To understand the basics of Open WebUI takes less than 1 hour.
- REQUIREMENTS
The descriptions and procedures in this article assume that the following points are already fulfilled:
You have successfully deployed the SUSE AI.
You can access the Open WebUI interface in your Web browser.
Your Open WebUI user account has been created and you have received the login credentials.
You have navigated your Web browser to the URL of your instance of Open WebUI and logged in with your credentials.
1 Introduction #
This topic explains what Open WebUI is and describes basics of its user interface.
1.1 What is Open WebUI? #
Open WebUI is a Web-based interface that allows you to interact with AI models, such as large language models (LLMs). It simplifies working with AI by providing a graphical user interface (GUI) instead of relying on command-line tools. The goal of Open WebUI is to make AI accessible to a broader audience, including those without technical expertise in AI development.
1.2 What are key benefits of using Open WebUI? #
- Interaction with AI models.
You can load a preferred AI model and interact with it using prompts in your natural language.
- Custom data handling for RAG workflows.
Open WebUI allows you to upload documents or specify URLs of pages that the AI can parse and reference during interaction, often used in RAG workflows.
- User-friendly interface.
By providing a graphical user interface, Open WebUI makes AI tools more accessible to non-technical users. It helps them utilize the power of advanced AI models without needing technical knowledge.
- Data privacy
You can deploy Open WebUI locally or in a private environment. Such deployment is required for users concerned about privacy and data security.
1.3 Open WebUI user interface #
The Open WebUI interface consists of three parts:
- Top panel
Contains controls to manage tasks related to the current chat, such as:
Maximizing the chat window.
Selecting an AI model for the current chat.
Viewing and managing advanced settings for the current chat.
Changing settings related to the current user.
Viewing archived chats of the current user.
Accessing the
.
- Left side bar
Contains links to perform the following tasks:
Start a new chat.
Access the administrator's
.Search the content of the current chat.
Browse through the history of your chats.
- Main chat window
Displays your recent queries and corresponding answers provided by the AI. By using the prompt field at the bottom, you can accomplish the following tasks related to the current chat:
Enter a query that you want the AI to answer.
Upload custom documents that you want the AI process and use as a source of information when answering.
Select a document, collection of documents or URL to extend the AI model's knowledge base.
Select a preconfigured AI model for the current chat.
Interrupt the chatbot from answering if you are already satisfied with the provided information.
1.4 Workspace #
You need to have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.
The
area of the Open WebUI is a place where you can manage important parts of the AI stack. To access it, click in the top of the left panel. consists of the following parts:- Models
Manage existing AI modules or add your custom AI module based on an existing one. Refer to https://docserv.suse.de:8085/suse-ai/1.0/html/openwebui-configuring/index.html#openwebui-managing-models for more details and related procedures.
- Knowledge
Manage information sources—such as custom documents—that the users can use to enhance the current AI model's knowledge base. This helps to make the model's responses more contextual. Refer to for more details and related procedures.
- Prompts
Define system prompts that guide the AI model to respond accurately in the style and format that you prefer. Refer to for more details and related procedures.
- Tools
- Functions
1.5 Admin Panel #
You need to have Open WebUI administrator privileges to access configuration screens or settings mentioned in this section.
The
is a centralized control interface for administrators to manage system settings, user accounts and overall application functionality.To access the
, click your avatar button in the top right of the Open WebUI screen and select .1.6 For more information #
The upstream Open WebUI documentation is hosted at https://docs.openwebui.com/.
2 The chat window #
This topic explains how to use the Open WebUI chat window to interact with an AI model.
In the top left of the chat window, verify that an AI model is selected. If no model is selected, select the preferred one from the drop-down list.
Tip: Your default modelTo make the selected model your default one, click
next to the AI model name.Tip: Multiple AI modulesYou can select multiple AI modules by clicking the plus sign next to the name of the already selected module.
Enter your prompt that you want AI to process in the chat input field.
Tip: Audio promptIf you prefer speaking rather than writing, click the small microphone icon in the right of the chat input field. Then say your prompt aloud and click the small check mark when finished.
Confirm with Enter or click the “up” arrow to the right of the chat input field so that the AI model can process your prompt. Wait for the response.
Figure 3: AI answering with 2 models #Depending on the number of selected AI models, one or multiple responses arrive. Below each response, there is a set of icons that help you perform the following tasks on the response.
Edit the response in a Markdown format in case you want to copy it for later use.
Copy the response to the clipboard.
Let Open WebUI read the response aloud.
Mark the response as good or bad. This way, the model learns to respond more precisely on the same or similar topic.
Regenerate the response if you are not happy with its current version. You can the cycle between individual versions of responses with the small left and right arrows.
3 The chat input field #
For a new chat, the chat input field is located at the center of the Open WebUI chat window. During chatting, it slides to the window's bottom. Its main purpose is to accept a user prompt so that the AI can process it and respond (see Section 2, “The chat window”). Besides that, the chat input field provides extended functionality that can help you achieve the following tasks.
3.1 Selecting an AI model from the chat input field #
This topic explains how to specify an AI model for the current chat from the input field.
You can specify which model you want the AI to use when responding to the prompts in your current chat. The selected model temporarily overrides your default model or the model you selected in the top right of the chat window.
In the chat input field, type the
@
character.From the drop-down list that appears, select one of the preconfigured AI models you want to talk to. You can only select one model at a time.
Figure 4: Selecting an AI model #Your selection is confirmed by the
message right above the chat input field.Type your prompt and confirm with Enter or clicking the “up” arrow to the right of the chat input field.
Figure 5: Prompt for a selected model #To deactivate the previously selected model from the current chat, click the “cross” icon to the right of the model name.
3.2 Adding preconfigured documents or external URLs from the chat input field #
This topic explains how to add preconfigured collections of documents and external URLs from the chat input field.
Besides prompting preconfigured AI models, you can “talk” to documents or collection of documents uploaded by the administrator. You can also specify external URLs whose content will be processed. AI then responds to your prompts based on the specified information sources.
In the chat input field, type the
#
character.From the drop-down list that appears, select one of the preconfigured documents or a collection of documents whose content you want AI to use as an information source. You can select multiple documents, one by one.
Figure 6: Selecting documents and collections #Instead of selecting the preconfigured documents, you can start typing
http:
followed by the full valid URL to the page that you want AI to process. After you confirm it with Enter, AI starts processing it.Figure 7: Adding an URL source #
Type your prompt and confirm with Enter or clicking the “up” arrow to the right of the chat input field.
Figure 8: Prompt with selected documents and collections #To deactivate the previously selected document from the current chat, hover its name and click the “cross” icon to the right of its name.
3.3 Adding custom data sources from the chat input field #
This topic explains how to add external data sources from the input field.
Besides prompting preconfigured AI models, you can “talk” to custom data sources specified from the chat input field. These sources are processes by AI so that it can respond based on their content.
Click the “+” sign left to the chat input field.
Click
and specify the document from your disk to process. You can upload multiple documents at the same time.Type your prompt and confirm with Enter or clicking the “up” arrow to the right of the chat input field.
Figure 9: Prompt with uploaded documents #To deactivate the previously selected document from the current chat, hover its name and click the “cross” icon to the right of its name.
3.4 Specifying a preconfigured system prompt from the chat input field #
A system prompt sets, for example, the mood, context or style how you want the AI to interact with the user during a session. This topic explains how to select a preconfigured system prompt from the input field.
In the chat input field, type the
/
character.From the drop-down list that appears, select the system prompt that you want to apply for the current chat.
Figure 10: Preconfigured system prompt #The content of the selected system prompt is pasted to the chat input field. Confirm it with Enter or clicking the “up” arrow to the right of the chat input field.
4 Legal Notice #
Copyright© 2006–2024 SUSE LLC and contributors. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”.
For SUSE trademarks, see https://www.suse.com/company/legal/. All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.
All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors, nor the translators shall be held liable for possible errors or the consequences thereof.