Skip to content

Commit

Permalink
Fix system message
Browse files Browse the repository at this point in the history
  • Loading branch information
InAnYan committed Sep 4, 2024
1 parent 181fe71 commit c6e90d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 it's citation key in the same form with @ symbol. Whenever you find relevant information, always use the citation key";
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";

This comment has been minimized.

Copy link
@ThiloteE

ThiloteE Sep 4, 2024

Member

Change "You answer questions over papers" to "You answer questions about papers".

This comment has been minimized.

Copy link
@InAnYan

InAnYan Sep 4, 2024

Author Collaborator

👍

public static final double TEMPERATURE = 0.7;
public static final int DOCUMENT_SPLITTER_CHUNK_SIZE = 300;
public static final int DOCUMENT_SPLITTER_OVERLAP = 100;
Expand Down

0 comments on commit c6e90d4

Please sign in to comment.