From ad8865d10f9dfe88be4570c45e2e30fc64b83f1f Mon Sep 17 00:00:00 2001 From: Gilbert Kwan Date: Thu, 14 Mar 2024 10:01:30 -0400 Subject: [PATCH] Update jakartaee-microprofile-example/src/main/java/dev/langchain4j/example/rest/ModelResource.java Co-authored-by: LangChain4j --- .../main/java/dev/langchain4j/example/rest/ModelResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jakartaee-microprofile-example/src/main/java/dev/langchain4j/example/rest/ModelResource.java b/jakartaee-microprofile-example/src/main/java/dev/langchain4j/example/rest/ModelResource.java index be904617..61237340 100644 --- a/jakartaee-microprofile-example/src/main/java/dev/langchain4j/example/rest/ModelResource.java +++ b/jakartaee-microprofile-example/src/main/java/dev/langchain4j/example/rest/ModelResource.java @@ -95,7 +95,7 @@ public List chatModelAsk(@QueryParam("userMessage") String userMessage) ).content(); return List.of( - "Agent: " + agentMessage.text(), + "System: " + agentMessage.text(), "Me: " + userMessage, "Agent: " + aiMessage.text().trim());