Skip to content

Commit 7a2f0df

Browse files
committed
Update guides based on 4th beta test
1 parent 57cb27c commit 7a2f0df

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

content/modules/ROOT/pages/module-devhub.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ To add the new feature, you will either create or edit the following files. Use
103103

104104
==== Create Java records beans
105105

106-
Create a new Java record, `Email.java` in the `src/main/java/org/parasol/model` directory to carry email data in a concise and immutable way.
106+
Create a new Java record, `Email.java` in the `src/main/java/org/parasol/model` folder to carry email data in a concise and immutable way.
107107

108-
To create this file, right-click on the `model` directory in the file tree, then select "New File..." and enter the name of the new file `Email.java`. The empty file will open.
108+
To create this file, right-click on the `model` folder in the file tree, then select "New File..." and enter the name of the new file `Email.java`. The empty file will open.
109109

110110
image::devhub/new-file.png[new-file, 500]
111111

@@ -124,7 +124,7 @@ public record Email(String text) { }
124124
Where is the Save button? VS Code will autosave your changes, that is why you can’t find a SAVE button - no more losing code because you forgot to save. You can undo with *CTRL-Z* (or *CMD-Z* on a Mac) or by using the `Edit -> Undo` menu option.
125125
====
126126

127-
Next, create a new Java record, `EmailResponse.java` in the `src/main/java/org/parasol/model` directory to store the response from the LLM. Copy the following code and paste it into the `EmailResponse.java` file.
127+
Next, create a new Java record, `EmailResponse.java` in the `src/main/java/org/parasol/model` folder to store the response from the LLM. Copy the following code and paste it into the `EmailResponse.java` file.
128128

129129
[.console-input]
130130
[source,java,subs="+attributes,macros+"]
@@ -136,7 +136,7 @@ public record EmailResponse(String subject, String message) { }
136136

137137
==== Create Java AI service
138138

139-
Create a new Java file, `EmailService.java` in the `src/main/java/org/parasol/ai` directory to serve as the AI Service connection point between your application and the LLM. Copy the following code and paste it into the `EmailService.java` file.
139+
Create a new Java file, `EmailService.java` in the `src/main/java/org/parasol/ai` folder to serve as the AI Service connection point between your application and the LLM. Copy the following code and paste it into the `EmailService.java` file.
140140

141141
[.console-input]
142142
[source,java,subs="+attributes,macros+"]
@@ -172,7 +172,7 @@ public interface EmailService {
172172

173173
==== Create Jakarta REST resource
174174

175-
Create a new Java file, `EmailResource.java` in the `src/main/java/org/parasol/resources` directory to serve a new REST endpoint. Copy the following code and paste it into the `EmailResource.java` file.
175+
Create a new Java file, `EmailResource.java` in the `src/main/java/org/parasol/resources` folder to serve a new REST endpoint. Copy the following code and paste it into the `EmailResource.java` file.
176176

177177
[.console-input]
178178
[source,java,subs="+attributes,macros+"]
@@ -208,7 +208,7 @@ public class EmailResource {
208208

209209
==== Add new LLM model configurations
210210

211-
Open the existing `application.properties` file in the `src/main/resources` directory to append the following Langchain4j configuration values.
211+
Open the existing `application.properties` file in the `src/main/resources` folder to append the following Langchain4j configuration values.
212212

213213
[.console-input]
214214
[source,properties,subs="+attributes,macros+"]
@@ -232,7 +232,7 @@ Let's update the frontend React web application to give our customer service rep
232232

233233
==== Create new React TypeScript component
234234

235-
Create a new `EmailGenerate` directory in the `src/main/webui/src/app/components` directory. Also, create a new TypeScript XML file, `EmailGenerate.tsx` in the `src/main/webui/src/app/components/EmailGenerate` directory to render the output of the LLM in the email subject and body content. Copy the following code and paste it into the EmailGenerate.tsx file.
235+
Create a new `EmailGenerate` folder in the `src/main/webui/src/app/components` folder. Also, create a new TypeScript XML file, `EmailGenerate.tsx` in the `src/main/webui/src/app/components/EmailGenerate` folder to render the output of the LLM in the email subject and body content. Copy the following code and paste it into the EmailGenerate.tsx file.
236236

237237
[.console-input]
238238
[source,javascript,subs="+attributes,macros+"]
@@ -325,7 +325,7 @@ This interface allows customer service representatives to copy and paste the cus
325325

326326
==== Add a new menu item in the navigation bar
327327

328-
Open the `routes.tsx` file in the `src/main/webui/src/app` directory and `uncomment` the following code out in line *8* and *89 - 95* to show the new menu item.
328+
Open the `routes.tsx` file in the `src/main/webui/src/app` folder and `uncomment` the following code out in line *8* and *89 - 95* to show the new menu item.
329329

330330
[NOTE]
331331
====
@@ -410,7 +410,7 @@ Create a new pull request (PR) to add the new Gen AI feature in the Parasol Insu
410410

411411
Click on the *Source Control* icon. Then, follow the next steps.
412412

413-
* Add a *Message* (e.g., `Add a new email feature`) for the commit.
413+
* Add a *Message* (e.g., `Add a new Gen AI feature`) for the commit.
414414
* Click on Commit *arrow*.
415415
* Select the option *Commit & Push*.
416416

content/modules/ROOT/pages/module-ilab.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ sh parasol-insurance/scripts/run-parasol-app.sh
111111

112112
This script will perform the following actions:
113113

114-
* Build the Quarkus (_parasol-insurnce_) application
114+
* Build the Quarkus (_parasol-insurance_) application
115115
* Run the Quarkus application locally in the RHEL VM
116116

117117
It will take a few minutes to complete.

0 commit comments

Comments
 (0)