From cdb01b6bb2f1f29a6899b9c16296462a5907dbb7 Mon Sep 17 00:00:00 2001 From: thguss Date: Tue, 29 Oct 2024 22:58:24 +0900 Subject: [PATCH] add: added sentence in prompt --- .../smeem/output/web/gpt/adapter/template/PromptTemplate.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smeem-output-web/gpt/src/main/java/com/smeem/output/web/gpt/adapter/template/PromptTemplate.java b/smeem-output-web/gpt/src/main/java/com/smeem/output/web/gpt/adapter/template/PromptTemplate.java index 204d9372..aaf2246a 100644 --- a/smeem-output-web/gpt/src/main/java/com/smeem/output/web/gpt/adapter/template/PromptTemplate.java +++ b/smeem-output-web/gpt/src/main/java/com/smeem/output/web/gpt/adapter/template/PromptTemplate.java @@ -5,7 +5,9 @@ public static String getCorrectionPrompt(String content) { return String.format(""" Paragraph : %s - Please correct the following English sentences, determine whether each sentence is correct or incorrect, and generate a JSON response in the specified format. The JSON format should be as follows: + Please correct the following English sentences, determine whether each sentence is correct or incorrect, and generate a JSON response in the specified format. + Make sure to keep the order of the sentences. + The JSON format should be as follows: JSON response description: - original_sentence: The original sentence exactly as it appears.