Skip to content

Commit ecd75a6

Browse files
committed
Added Open-WebUI
Added open-webui and removed old references to tracking. Signed-off-by: JJ Asghar <[email protected]>
1 parent d97392b commit ecd75a6

File tree

12 files changed

+99
-7
lines changed

12 files changed

+99
-7
lines changed

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ This workshop has been tested on the following platforms:
4747
* [Gabe Goodhart](https://github.com/gabe-l-hart)
4848
* [Ming Zhao](https://github.com/mingxzhao)
4949

50-
<img src="https://count.asgharlabs.io/count?p=/main_opensource_ai_page">
171 KB
Loading
210 KB
Loading
174 KB
Loading
253 KB
Loading

docs/lab-1/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,4 @@ Now let's continue on to Lab 2, where we are going to actually try this process
9595

9696
[paper]: https://arxiv.org/pdf/2405.04324?utm_source=ibm_developer&utm_content=in_content_link&utm_id=tutorials_awb-local-ai-copilot-ibm-granite-code-ollama-continue
9797

98-
<img src="https://count.asgharlabs.io/count?p=/lab1_opensource_ai_page">
9998

docs/lab-2/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,3 @@ if you want a quick video of other neat <https://continue.dev> functions we didn
188188

189189
On to the next lab!
190190

191-
<img src="https://count.asgharlabs.io/count?p=/lab2_opensource_ai_page>

docs/lab-3.5/README.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Configuring Open-WebUI
3+
description: Steps to configure Open-WebUI for usage
4+
logo: images/ibm-blue-background.png
5+
---
6+
7+
# Configuring Open-WebUI
8+
9+
Now that you've gotten [Open-WebUI installed](../pre-work/README.md#open-webui) we need to configure it with `ollama` and Open-WebUI
10+
to talk to one another. The following screenshots will be from a Mac, but the gist of this should be the same on Windows and Linux.
11+
12+
Open up Open-WebUI (assuming all you have done is `open-webui serve` and
13+
nothing else), and you should see something like the following:
14+
![default screen](../images/openwebui_open_screen.png)
15+
16+
If you see this that means Open-WebUI is installed correctly, and we can continue configuration, if not, please find a workshop TA or
17+
raise your hand we'll be there to help you ASAP.
18+
19+
Before clicking the "Getting Started" button, make sure that `ollama` has
20+
`granite3.1-dense` pulled down.
21+
22+
Run the following command to confirm you have the [granite3.1-dense](https://ollama.com/library/granite3.1-dense)
23+
model downloaded in `ollama`. This may take a bit, but we should have a way to copy it directly on your laptop.
24+
25+
If you didn't know, the supported languages with `granite3.1-dense` now include:
26+
- English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, Chinese (Simplified)
27+
28+
And the Capabilities also include:
29+
- Summarization
30+
- Text classification
31+
- Text extraction
32+
- Question-answering
33+
- Retrieval Augmented Generation (RAG)
34+
- Code related tasks
35+
- Function-calling tasks
36+
- Multilingual dialog use cases
37+
- Long-context tasks including long document/meeting summarization, long document QA, etc.
38+
39+
!!! note
40+
We need to figure out a way to copy the models into ollama without downloading.
41+
42+
```bash
43+
ollama pull granite3.1-dense:8b
44+
```
45+
46+
Click the "Getting Started" button, and fill out the next screen, and click the
47+
"Create Admin Account"
48+
49+
![user setup screen](../images/openwebui_user_setup_screen.png)
50+
51+
You should see the main page now, with `granite3.1-dense:latest` right there in
52+
the center!
53+
54+
![main screen](../images/openwebui_main_screen.png)
55+
56+
Ask it a question, see that it works as you expect...may I suggest:
57+
58+
```
59+
Who is Batman?
60+
```
61+
62+
![batman](../images/openwebui_who_is_batman.png)
63+
64+
Now you may notice that the answer is slighty different then the screen shot above. That's expected and nothing to worry about. If
65+
you have more questions about it raise your hand and one of the helpers would love to talk you about it.
66+
67+
Congratulations! You have Open-WebUI running now, configured to work with `granite3.1-dense` and `Ollama`!
68+
69+
!!! note
70+
This was done on your local machine, take a moment and realize if you
71+
needed to create a shared AI enviroment, this could be easily leveraged
72+
here. This is very out of scope of this workshop, but the TAs can help if
73+
you have some general questions around running this in this "space."
74+

docs/lab-3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ logo: images/ibm-blue-background.png
66

77
# Configuring AnythingLLM
88

9-
Now that you've gotten [AnythingLLM installed](../pre-work/#anythingllm) we need to configure it with `ollama` and AnythingLLM
9+
Now that you've gotten [AnythingLLM installed](../pre-work/README.md#anythingllm) we need to configure it with `ollama` and AnythingLLM
1010
to talk to one another. The following screenshots will be from a Mac, but the gist of this should be the same on Windows and Linux.
1111

1212
Open up AnyThingLLM, and you should see something like the following:

docs/lab-4/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ problem leveraging development processes.
5757

5858
Now that you see this overview, lets actually get into some prompts and helpful prompt templates.
5959

60-
<img src="https://count.asgharlabs.io/count?p=/lab4_opensource_ai_page>

0 commit comments

Comments
 (0)