#!/bin/bash # Wrapper that runs the distillation script from the correct dir. # Usage: # export ANTHROPIC_API_KEY=sk-ant-... # ./scripts/distill.sh # process all unfilled rows # ./scripts/distill.sh --max 50 # cap at 50 rows # ./scripts/distill.sh --dry-run # plan, don't call API set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PROJECT_ROOT="$( cd "$SCRIPT_DIR/../.." && pwd )" cd "$PROJECT_ROOT" exec python3 -m tau_rag.scripts.distill "$@"