Skip to content

Commit 10cb188

Browse files
author
fochan
committed
update
1 parent f56f926 commit 10cb188

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+253
-54
lines changed

docs/class3/_static/class3-3.png

-119 KB
Binary file not shown.

docs/class3/_static/class3-4.png

-51.9 KB
Loading

docs/class3/_static/class3-5.png

96.9 KB
Loading

docs/class3/class3.rst

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,15 @@ Ensure you on ai-gateway directory
4343

4444
.. code-block:: bash
4545
46-
cd ~/ai-gateway
47-
48-
49-
.. code-block:: bash
50-
51-
cd open-webui-helm-charts/
52-
53-
.. image:: ./_static/class3-3.png
54-
55-
.. code-block:: bash
56-
57-
helm repo add open-webui https://open-webui.github.io/helm-charts
58-
59-
.. code-block:: bash
60-
61-
helm repo list
46+
cd ~/ai-gateway/open-webui-manifest
6247
6348
.. code-block:: bash
6449
6550
kubectl create ns open-webui
6651
6752
.. code-block:: bash
6853
69-
helm -n open-webui install open-webui open-webui/open-webui --values values.yaml
54+
kubectl -n open-webui apply -k base
7055
7156
.. code-block:: bash
7257
@@ -96,6 +81,15 @@ Create nginx ingress resource for open-webui to expose Open-Webui service to out
9681
9782
kubectl -n open-webui apply -f ollama-ingress-http.yaml
9883
84+
.. code-block:: bash
85+
86+
kubectl -n open-webui apply -f open-webui-ingress-ollama-minion.yaml
87+
88+
89+
.. code-block:: bash
90+
91+
kubectl -n open-webui get ingress
92+
9993
10094
.. image:: ./_static/class3-5.png
10195

@@ -269,9 +263,11 @@ values.yaml ::
269263

270264
extraEnvVars:
271265
- name: LOG_LEVEL
272-
value: 'debug'
266+
value: 'info'
273267
- name: DEBUG
274-
value: 'true'
268+
value: 'false'
269+
- name: NODE_TLS_REJECT_UNAUTHORIZED
270+
value: '0'
275271

276272

277273
Create nginx ingress resource for flowise to expose flowise service to outside of K8S.

docs/class4/_static/class4-12.png

351 KB
Loading
-1020 KB
Binary file not shown.
-394 KB
Binary file not shown.

docs/class4/class4.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,27 @@ Apart from exposing sensitive information (PII), the chatbot also reveal sensiti
100100
101101
.. image:: ./_static/class4-llm07-sensitive-info.png
102102

103+
Below is the system prompt configured for the GenAI Chatbot (setup in FlowiseAI Conversational QA Chain).
104+
105+
.. image:: ./_static/class4-12.png
106+
107+
|
108+
109+
|
110+
111+
As shown, our GenAI chatbot is vulnerable to information leakage as well as prone for prompt injection. In next class, we will spend time to secure our GenAI chatbot.
112+
113+
|
114+
115+
|
103116
104117

105118

106119
.. image:: ./_static/mission4-1.png
107120

121+
|
122+
123+
|
108124
109125

110126
.. toctree::
363 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)