From b8fba2949fc047a906c36477d47aac0b8893f1d4 Mon Sep 17 00:00:00 2001 From: InAnYan Date: Wed, 4 Sep 2024 16:27:36 +0300 Subject: [PATCH] Fix for system message --- src/main/java/org/jabref/logic/ai/AiDefaultPreferences.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/logic/ai/AiDefaultPreferences.java b/src/main/java/org/jabref/logic/ai/AiDefaultPreferences.java index 767f16d6f7e..206fa0ae57d 100644 --- a/src/main/java/org/jabref/logic/ai/AiDefaultPreferences.java +++ b/src/main/java/org/jabref/logic/ai/AiDefaultPreferences.java @@ -50,7 +50,7 @@ public class AiDefaultPreferences { public static final boolean CUSTOMIZE_SETTINGS = false; public static final EmbeddingModel EMBEDDING_MODEL = EmbeddingModel.SENTENCE_TRANSFORMERS_ALL_MINILM_L12_V2; - public static final String SYSTEM_MESSAGE = "You are an AI assistant that analyses research papers. You answer questions over papers. You will be supplied with the necessary information. The supplied information will contain mentions of papers in form '@citationKey'. Whenever you refer to a paper, use its citation key in the same form with @ symbol. Whenever you find relevant information, always use the citation key. Here are the papers you are analyzing:\n"; + public static final String SYSTEM_MESSAGE = "You are an AI assistant that analyses research papers. You answer questions about papers. You will be supplied with the necessary information. The supplied information will contain mentions of papers in form '@citationKey'. Whenever you refer to a paper, use its citation key in the same form with @ symbol. Whenever you find relevant information, always use the citation key. Here are the papers you are analyzing:\n"; public static final double TEMPERATURE = 0.7; public static final int DOCUMENT_SPLITTER_CHUNK_SIZE = 300; public static final int DOCUMENT_SPLITTER_OVERLAP = 100;