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
@@ -105,6 +105,7 @@ For details, please refer to official documentation. Here a brief description.
105
105
Example uses **rag-ai-chatbot-prompt** profiles which defined the **prompt-injection** processor at the **inputStages** which uses **ollama/llama3.2** service.
106
106
107
107
.. code-block:: yaml
108
+
:caption: AIGW profiles - "rag-ai-chatbot-prompt" with "prompt-injection" processor and uses "ollama/llama3.2" service. Profile will be applied on AIGW inputStage.
108
109
109
110
profiles:
110
111
- name: rag-ai-chatbot-prompt
@@ -122,6 +123,7 @@ For details, please refer to official documentation. Here a brief description.
122
123
Processor definition for **prompt-injection**
123
124
124
125
.. code-block:: yaml
126
+
:caption: Configuration of an external AIGW Processor - "prompt-injection" processor.
125
127
126
128
processors:
127
129
- name: prompt-injection
@@ -140,6 +142,7 @@ For details, please refer to official documentation. Here a brief description.
140
142
Example shown service for ollama/llama3.2 (upstream LLM). This is the service that AIGW will send to. Option for executor are ollama, openai, anthropic or http. Endpoint URL is where the upstream LLM API.
141
143
142
144
.. code-block:: yaml
145
+
:caption: Service definition for upstream LLM - "ollama/llama3.2".
143
146
144
147
- name: ollama/llama3.2
145
148
type: llama3.2
@@ -157,15 +160,20 @@ For details, please refer to official documentation. Here a brief description.
157
160
.. image:: ./_static/class5-2-0.png
158
161
159
162
.. code-block:: bash
163
+
:caption: Switch to ai-gateway K8S by changing to the directory. ai-gateway kubeconfig will automatically loaded.
160
164
161
165
cd~/ai-gateway/aigw-v0.1/charts/aigw
162
166
167
+
163
168
.. code-block:: bash
169
+
:caption: Create ai-gateway namespace to host AIGW core container.
**values-ai-gateway-base.yaml** is the base aigw.yaml configuration - without any policy configuration. **values-ai-gateway.yaml** contains configuration with policies. We can either use API to create configuration dynamically or create configuration/policy as part of the deployment. Please do notes that configuration created via API will not survive on reboot or restart. For this class, we will use API to create AIGW configuration.
192
201
193
202
.. code-block:: bash
203
+
:caption: Retrieves and displays all Pods and Services within the ai-gateway namespace
194
204
195
205
kubectl -n ai-gateway get po,svc
196
206
197
207
.. code-block:: bash
208
+
:caption: Fetches logs from all pods in the ai-gateway namespace that have the label app.kubernetes.io/instance=aigw
Copy file name to clipboardExpand all lines: docs/prerequisite/prerequisite.rst
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,22 +87,11 @@ KASM desktop
87
87
------------
88
88
Alternatively, if you don't have access to RDP or ssh client from your laptop due to company security policy, you can use KASM desktop (via https) to do the lab.
89
89
90
+
Launch Chrome browser (via KASM-Desktop link).
90
91
91
92
.. image:: /_static/intro/kasm-0.png
92
93
93
94
94
-
Login to Desktop browser (Chrome) with the following credential.
95
-
96
-
+----------------+---------------+
97
-
| **Username** | f5 |
98
-
+----------------+---------------+
99
-
| **Password** | F5Passw0rd |
100
-
+----------------+---------------+
101
-
102
-
103
-
.. image:: /_static/intro/kasm-1.png
104
-
105
-
106
95
Access Kasm Desktop from the bookmark as shown below.
107
96
108
97
Ensure you allow text and images copies to the clipboard.
@@ -112,8 +101,7 @@ Ensure you allow text and images copies to the clipboard.
112
101
113
102
.. image:: /_static/intro/kasm-2.png
114
103
115
-
Please notes that KASM desktop username is different from the Desktop (Chrome) browser.
116
-
104
+
Please use the following username and password to login to KASM desktop.
0 commit comments