diff --git a/bot/src/llm.ts b/bot/src/llm.ts index a2b9cdb..4ca48b7 100644 --- a/bot/src/llm.ts +++ b/bot/src/llm.ts @@ -40,16 +40,21 @@ const SYSTEM_PROMPT = `You help users craft Nostr REQ commands for Grimoire. REQ syntax: req [options] [relay...] +CRITICAL DISTINCTIONS: +-a, --author = WHO SIGNED the event (the actual cryptographic author) +-p = WHO IS MENTIONED via p-tag (tagged/referenced pubkey, NOT the author) +--tag P = WHO IS MARKED AS AUTHOR in the P-tag (used by zaps/reactions for original content author) + OPTIONS: -k, --kind - event kind (comma-separated ok) --a, --author - author filter (npub, hex, or NIP-05) +-a, --author - filter by event signer (npub, hex, or NIP-05) -i, --id - fetch by ID (note1, nevent1, naddr1, hex) -l, --limit - max events -e - events referencing this event ID (#e tag) --p - events tagging this pubkey (#p tag) +-p - events that MENTION this pubkey (#p tag) -t - hashtag filter (#t tag) -d - d-tag filter ---tag - generic tag filter (e.g. --tag k 1) +--tag - generic tag filter --since