-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme
More file actions
27 lines (21 loc) · 813 Bytes
/
readme
File metadata and controls
27 lines (21 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Hello this is cursor
Smart Notification Agent CLI
Setup
1) Create and activate a Python 3.10+ environment
2) Install dependencies:
pip install -r requirements.txt
3) Copy and edit environment variables:
cp .env.example .env
Usage
- From file:
python smart_notify.py path/to/email.txt --provider openai
- From stdin:
cat email.txt | python smart_notify.py --provider anthropic
Output format (single line):
makefile
Summary: <summary> Category: <category> Urgency: <urgency> Action: <yes/no>
Provider selection
- Set MODEL_PROVIDER env or use --provider flag: openai | anthropic | mistral
- API keys via env: OPENAI_API_KEY, ANTHROPIC_API_KEY, MISTRAL_API_KEY
Optional: Google Sheets via Bolt
- Set BOLT_SHEETS_ENABLED=1 and BOLT_SHEETS_URL (and optional BOLT_SHEETS_AUTH_BEARER) to push results.