Lukas Goldschmidt há 1 semana atrás
pai
commit
45094bbb5b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      prompts/extract_entities.prompt

+ 2 - 2
prompts/extract_entities.prompt

@@ -5,7 +5,7 @@ Return STRICT JSON with EXACT keys: { topic, entities, sentiment, sentimentScore
 FIELDS:
 - topic: one of [crypto, macro, regulation, ai, other]
 - entities: named people, places, orgs, conflicts, and finance/crypto terms
-  (BTC, ETH, ETF, SEC, ECB, Fed, euro, inflation, rates). Canonical forms. 1–5 words each.
+  (BTC, ETH, ETF, SEC, ECB, Fed, euro, inflation, rates). Canonical forms. 1–5 words each. Good: "USS Gerald Ford", Bad: "american aircraft carrier"
 - sentiment: "positive" | "negative" | "neutral"
 - sentimentScore: float –1.0 to 1.0, consistent with sentiment label
 - keywords: 2–4 thematic tags, 1–2 words each. Noun phrases only (e.g. "drone strikes",
@@ -13,7 +13,7 @@ FIELDS:
 
 TASKS:
 1. Infer the best topic.
-2. Extract all named entities from headline and summary.
+2. Extract all named entities from headline and summary. No general categories.
 3. Assign sentiment from tone and wording.
 4. Choose keywords that capture themes, not entities.