#!/bin/bash # Benchmark da RAG do sistema legado (banco rag_doza). Ver rag/bench.py. 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/.env" exec "$PY" "$RAG_DIR/bench.py" "$@"