Skip to content

Commit 343999c

Browse files
committed
doc update
1 parent b66ecd3 commit 343999c

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ This reference implementation is designed to be reusable.
99

1010
Requirements:
1111

12-
- Java 21
12+
- Java 21 (for virtual threads)
1313
- Spring AI

examples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Examples
2+
3+
Use the Docker Compose file in `observation-docker` to start observation stack.

examples/src/main/java/com/javaaidev/agenticpatterns/examples/agentastool/RestAPITestCaseGenerationAgent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected RestAPITestCaseGenerationAgent(ChatClient chatClient) {
1515
@Override
1616
protected String getPromptTemplate() {
1717
return """
18-
Goal: Write Python code to test a REST API.
18+
Goal: Write JavaScript code to test a REST API.
1919
2020
Requirements:
2121
- The API is responsible for creating a new user.

examples/src/main/java/com/javaaidev/agenticpatterns/examples/routingworkflow/CustomerSupportAgent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected String getPromptTemplate() {
7777

7878
@Override
7979
protected void updateChatClientRequest(ChatClientRequestSpec spec) {
80-
spec.system("You are a customer support agent for payment, be polite and helper");
80+
spec.system("You are a customer support agent for payment, be polite and helpful");
8181
}
8282
}
8383

@@ -105,7 +105,7 @@ protected Map<String, Object> getPromptContext(
105105

106106
@Override
107107
protected void updateChatClientRequest(ChatClientRequestSpec spec) {
108-
spec.system("You are a customer support agent for shipping, be polite and helper");
108+
spec.system("You are a customer support agent for shipping, be polite and helpful");
109109
}
110110
}
111111

@@ -134,7 +134,7 @@ protected String getPromptTemplate() {
134134
@Override
135135
protected void updateChatClientRequest(ChatClientRequestSpec spec) {
136136
spec.system(
137-
"You are a customer support agent for general questions, be polite and helper");
137+
"You are a customer support agent for general questions, be polite and helpful");
138138
}
139139
}
140140
}

0 commit comments

Comments
 (0)