You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial_openwebui.md
+235-1Lines changed: 235 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,4 +46,238 @@ sudo docker run -d --network=host \
46
46
--name open-webui \
47
47
--restart always \
48
48
ghcr.io/open-webui/open-webui:main
49
-
```
49
+
```
50
+
51
+
### Case 2: Ollama container
52
+
53
+
If you have not natively installed Ollama, you can also run `Ollama` in container using `jetson-containers`, after executing the above command to run Open WebUI container.
54
+
55
+
```bash
56
+
jetson-containers run --name ollama $(autotag ollama)
Click "**Get started :material-arrow-right-circle: **".
120
+
121
+
### Step 2. Complete the Account Creation Process
122
+
123
+
Follow the on-screen prompts to create an account.
124
+
125
+
{.shadow}
126
+
127
+
!!! note
128
+
129
+
Note that **all account information stays local**, so privacy is maintained. You can use a random email address and password for this step as it is not verified or stored externally.
130
+
131
+
However, make sure to remember the credentials, as you’ll need them to log in for future sessions.
132
+
133
+
For more details, refer to the provided [information link](https://docs.openwebui.com/faq/#q-why-am-i-asked-to-sign-up-where-are-my-data-being-sent-to) or instructions on the screen.
134
+
135
+
Once you "**Create Admin Account**", you will be presented with the release notes for the latest version of Open WebUI. To proceed, click "**Okay, Let's Go!**" button.
136
+
137
+
{.shadow}
138
+
139
+
Once everything is set up, you should see the following UI appear.
To download an SLM model, click the dropdown :material-chevron-down: next to the "Select a model" section. Type the name of the model you want to try in "🔎 **Search a model**" field.
After downloading your SLM model, you have the option to disconnect your Jetson unit from the internet. This allows you to validate that all subsequent interactions are powered exclusively by the local generative AI model, all running on this edge AI computer.
160
+
161
+
### Step 4. Start interacting with the model
162
+
163
+
You can now start interacting with the model, just like you would with any other LLM chatbot.
### Step 3. Create a custom model with knowledge base access
199
+
200
+
To leverage the knowledge base for more accurate and context-aware responses, you need to create a model that can access this information. By linking the model to the knowledge base, the LLM can reference the stored data to provide more precise and relevant answers to user queries.
201
+
202
+
Follow these steps to create a model with knowledge base access
Here, you can configure the model with the following info:
218
+
219
+
| Field | What to do | Example |
220
+
| ----- | ---------- | ------- |
221
+
| **Model name** | Enter a name for your new model. | "**Jetson Expert**" |
222
+
| **Select a base model** :material-chevron-down: | Choose a base model from the list of models you've downloaded on your local Ollama server. | "`llama3.2:3b`" |
223
+
| **Select Knowledge** | Click the button and select the newly created knowledge base from the list. | "**Jetson Documents**" |
You will be taken back to the **Models** tab in the Workspace.
232
+
233
+
{.shadow}
234
+
235
+
### Step 5. Chat with your custom model
236
+
237
+
You can now navigate to the chat window and select the newly created model.
238
+
239
+
Use this model to ask questions related to the uploaded documents. This will help verify if the model can successfully retrieve information from the knowledge base.
240
+
241
+
{.shadow}
242
+
243
+
## Troubleshooting
244
+
245
+
### Open Web UI is not responding
246
+
247
+
Reload the page on your web browser.
248
+
249
+
### How to Create a New Account for Open WebUI (If You Forgot Your Password)
250
+
251
+
If you need to create a new account in Open WebUI (for example, if you forgot your password), follow these steps to reset the account:
252
+
253
+
#### Delete the existing Open WebUI data folder:
254
+
255
+
This will remove all existing user account data and settings. Run the following command:
256
+
257
+
```bash
258
+
sudo rm -rf ${HOME}/open-webui
259
+
```
260
+
261
+
#### Re-run the Docker container
262
+
263
+
This will recreate a fresh instance of Open WebUI, allowing you to create a new account.
264
+
265
+
```bash
266
+
sudo docker run -d --network=host \
267
+
-v ${HOME}/open-webui:/app/backend/data \
268
+
-e OLLAMA_BASE_URL=http://127.0.0.1:11434 \
269
+
--name open-webui \
270
+
--restart always \
271
+
ghcr.io/open-webui/open-webui:main
272
+
```
273
+
274
+
#### How to Shut Down Open WebUI?
275
+
276
+
To gracefully stop and remove the Open WebUI container, run the following commands:
0 commit comments