-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_claude_public.sh
More file actions
executable file
·36 lines (29 loc) · 1.15 KB
/
run_claude_public.sh
File metadata and controls
executable file
·36 lines (29 loc) · 1.15 KB
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
28
29
30
31
32
33
34
35
#!/bin/bash
# ==============================================================================
# TableMagnifier - Claude Sonnet (Public Domain)
# ==============================================================================
# Default Configuration
TARGET="data/Public/Table/P_origin_0"
DEFAULT_ARGS="--provider claude --model claude-sonnet-4-5 --domain public --qa-only --pair-mode"
# Check if the first argument is a path (i.e., does not start with '-')
if [[ "$1" != -* ]] && [[ -n "$1" ]]; then
TARGET="$1"
shift
fi
echo "=============================================="
echo " TableMagnifier - Claude Sonnet (Public)"
echo "=============================================="
echo "Target: $TARGET"
echo "Provider: claude"
echo "Model: claude-sonnet-4.5"
echo "Domain: public"
echo ""
# Check for ANTHROPIC_API_KEY
if [[ -z "$ANTHROPIC_API_KEY" ]]; then
echo "⚠️ Warning: ANTHROPIC_API_KEY is not set."
echo " Please set it in your environment or .env file."
echo ""
fi
# Run the pipeline
# Note: "$@" appends any remaining arguments, allowing overrides of defaults
uv run python -m generate_synthetic_table.cli "$TARGET" $DEFAULT_ARGS "$@"