Refactoring

This commit is contained in:
M66B
2024-04-27 19:49:36 +02:00
parent 1a9748191b
commit 6edffb9a61
3 changed files with 7 additions and 4 deletions

View File

@@ -43,6 +43,8 @@ import java.util.Objects;
import javax.net.ssl.HttpsURLConnection;
public class OpenAI {
static final String ASSISTANT = "assistant";
static final String USER = "user";
static final String SUMMARY_PROMPT = "Summarize the following text:";
private static final int MAX_OPENAI_LEN = 1000; // characters