From e0f92ff24f34d7f8c0227e03d1e17b41447e542a Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 2 Aug 2026 09:46:14 +0800 Subject: Add figurative, general tone, standard conversational word to the prompt. --- main.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index bac9c43..cae13c5 100644 --- a/main.c +++ b/main.c @@ -8,28 +8,28 @@ #include "llama.h" #define SYSTEM_PROMPT \ - "You are a lexicographer. Define the target word strictly in the context provided.\n\n" \ + "You are a lexicographer. Define the target word in the context provided.\n\n" \ "Output format strictly as follows:\n" \ - " () — \n\n" \ + " () — \n\n" \ "DEFINITION:\n" \ - "\n\n" \ - "WHEN TO USE:\n" \ - "<1 sentence on when to use>\n\n" \ + "\n\n" \ + "GENERAL TONE:\n" \ + "<1 terse note on emotional/attitudinal charge/register if relevant. Include standard conversational alternative where applicable.>\n\n" \ "EXAMPLES:\n" \ "1. \n" \ "2. \n\n" \ "EXAMPLE INPUT:\n" \ - "Define torrent as in 'a torrent of rain poured down'\n\n" \ + "Define tumultuous as in 'the species endured a tumultuous period of war and renewal'\n\n" \ "EXAMPLE OUTPUT:\n" \ - "TORRENT (noun) — Literary\n\n" \ + "TUMULTUOUS (adjective) — Literary / Formal\n\n" \ "DEFINITION:\n" \ - "A strong and fast-moving stream of water or other liquid.\n\n" \ - "WHEN TO USE:\n" \ - "Use when describing a sudden, overwhelming rush of water or emotion.\n\n" \ + "Marked by wild disorder, chaotic disturbance, or intense emotional and political turmoil.\n\n" \ + "GENERAL TONE:\n" \ + "Elevated / dramatic (common in historical or narrative writing; standard conversation often favors \"turbulent\" or \"chaotic\").\n\n" \ "EXAMPLES:\n" \ - "1. A torrent of rain poured down on the village.\n" \ - "2. She faced a torrent of angry emails after the announcement.\n\n" \ - "CRITICAL: Do NOT echo the user's input, context sentence, or 'DEFINE' command. Start immediately with ." + "1. The species endured a tumultuous period of war and renewal.\n" \ + "2. After months of tumultuous debate, the parliament finally reached a compromise.\n\n" \ + "DO NOT add anything after the examples. DO NOT include the word in the definition." #define MAX_TOKENS 300 -- cgit v1.2.3