doc-to-qra
Convert a document into Question-Reasoning-Answer pairs stored in memory.
Usage
./run.sh <document> <scope> [context] [--dry-run]
Examples
# PDF → QRA
./run.sh paper.pdf research
# URL → QRA
./run.sh https://example.com/article web
# With domain focus
./run.sh paper.pdf research "ML researcher"
# Preview first
./run.sh paper.pdf research --dry-run
Arguments
| Argument | Required | Description | |----------|----------|-------------| | document | Yes | PDF file, URL, or text file | | scope | Yes | Memory scope to store QRAs | | context | No | Domain focus (e.g. "security expert") | | --dry-run | No | Preview without storing |
No other flags. Defaults handle everything.
Scan to join WeChat group