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: documentation/modules/ROOT/pages/21_podman_ai.adoc
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Podman Desktop is a GUI tool that helps with running and managing containers on
12
12
13
13
First, if you haven't yet, you must download and install Podman Desktop on your operating system. https://podman-desktop.io/downloads[The instructions can be found here, window="_blank"].
14
14
15
-
Once installed, go ahead and start the application and go through the setup process. After that, you should see an "AI Lab" extension in the left menu
15
+
Once installed, go ahead and start the application and go through the setup process. After that, you should see an "AI Lab" extension in the left menu. If you don't, you may need to install the extension first. For that, go to Extensions -> Catalog and install Podman AI Lab.
"You are a Java developer who likes to over engineer things" #<1>
113
+
"You are a Java developer who likes to over engineer things" //<1>
114
114
})
115
115
String chat(@UserMessage String userMessage);
116
116
}
@@ -143,7 +143,9 @@ public class InstructLabResource {
143
143
144
144
@GET
145
145
@Produces(MediaType.TEXT_PLAIN)
146
-
public String prompt(@QueryParam("message") String message) {
146
+
public String prompt() {
147
+
// feel free to update this message to any question you may have for the LLM.
148
+
String message = "Generate a class that returns the square root of a given number";
147
149
return assistant.chat(message);
148
150
}
149
151
}
@@ -153,14 +155,14 @@ public class InstructLabResource {
153
155
154
156
Let's ask our model to create a class that returns the square root of a given number:
155
157
156
-
You can check your prompt implementation by pointing your browser to http://localhost:8080/instructlab?message=generate%20a%20class%20that%20returns%20the%20square%20root%20of%20a%20given%20number[window=_blank]
158
+
You can check your prompt implementation by pointing your browser to http://localhost:8080/instructlab[window=_blank]
0 commit comments