Skip to content

Commit

Permalink
Update jakartaee-microprofile-example/src/main/java/dev/langchain4j/e…
Browse files Browse the repository at this point in the history
…xample/rest/ModelResource.java

Co-authored-by: LangChain4j <langchain4j@gmail.com>
  • Loading branch information
gkwan-ibm and langchain4j authored Mar 14, 2024
1 parent 95b69fb commit ad8865d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public List<String> chatModelAsk(@QueryParam("userMessage") String userMessage)
).content();

return List.of(
"Agent: " + agentMessage.text(),
"System: " + agentMessage.text(),
"Me: " + userMessage,
"Agent: " + aiMessage.text().trim());

Expand Down

0 comments on commit ad8865d

Please sign in to comment.