#!/bin/bash # Benchmark da RAG do Tigre. Ver rag/bench.py. # Uso: rag/bench.sh [--baseline] [--mode map|snippet|full] [--label nome] set -e RAG_DIR="$(cd "$(dirname "$0")" && pwd)" "$RAG_DIR/ensure_tunnel.sh" >&2 PY="${RAG_DIR}/.venv/bin/python3" [ -x "$PY" ] || PY="$(command -v python3)" export RAG_ENV_FILE="$RAG_DIR/tigre.env" exec "$PY" "$RAG_DIR/bench.py" "$@"