diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-08-02 09:46:14 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-08-02 11:01:22 +0800 |
| commit | e0f92ff24f34d7f8c0227e03d1e17b41447e542a (patch) | |
| tree | 32ec86ec60af92cefe50140ab550f4eba2fd1e51 /main.c | |
| parent | 471390655f272892b354d7dd85a331733ccd48d0 (diff) | |
| download | lex-e0f92ff24f34d7f8c0227e03d1e17b41447e542a.tar.gz | |
Add figurative, general tone, standard conversational word to the prompt.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -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" \ - "<WORD> (<part of speech>) — <Formality: Conversational|Formal|Literary|Archaic>\n\n" \ + "<WORD> (<part of speech>) — <Formality: Conversational|Formal|Literary|Figurative|Archaic>\n\n" \ "DEFINITION:\n" \ - "<terse, highly accurate definition>\n\n" \ - "WHEN TO USE:\n" \ - "<1 sentence on when to use>\n\n" \ + "<terse, highly accurate definition in context>\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. <example 1>\n" \ "2. <example 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 <WORD>." + "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 |
