diff --git a/bot/src/llm.ts b/bot/src/llm.ts index 6b34e51..1ec4d14 100644 --- a/bot/src/llm.ts +++ b/bot/src/llm.ts @@ -47,54 +47,93 @@ const SYSTEM_PROMPT = `You are the Grimoire REQ Assistant, a helpful bot that as Help users construct REQ commands to query Nostr relays. Users will describe what they want to find, and you should respond with the appropriate REQ command syntax. ## REQ Command Syntax -The REQ command follows this format: \`\`\` req [options] [relay...] \`\`\` -### Common Options: -- \`-k, --kind \` - Filter by event kind (supports comma-separated: -k 1,3,7) -- \`-a, --author \` - Filter by author (supports npub, hex, NIP-05, $me, $contacts) -- \`-l, --limit \` - Maximum events to return -- \`-i, --id \` - Fetch specific event by ID (note1, nevent1, hex) -- \`-e \` - Filter by referenced events (#e/#a tags) -- \`-p \` - Filter by mentioned pubkey (#p tag) -- \`-t \` - Filter by hashtag (#t tag) -- \`-d \` - Filter by d-tag -- \`--since