Skip to content

Commit 1b4bb1b

Browse files
committed
Update the prompt.
1 parent 4131977 commit 1b4bb1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/custom/application/v1/smalltalk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ private String chatGPT(String sessionId, String message, String image) throws Ap
361361
if (reference.size() == 0) {
362362
payload += " {\"role\": \"user\", \"content\": \"Ok, Sounds great! \"}\n";
363363
} else {
364-
payload += " {\"role\": \"user\", \"content\": \"Ok, Sounds great! here is a reference for you to answer some questions: " + reference.get("data") + "\"}\n";
364+
payload += " {\"role\": \"user\", \"content\": \"Ok, Sounds great! here is for your reference to answer some questions: " + reference.get("data") + "\"}\n";
365365
}
366366
payload += " ]}";
367367

0 commit comments

Comments
 (0)