Files
jhonny-editor/rag/search_tigre.sh
T
João Henrique b541f502ba feat: initial commit - Jhonny Editor
- Adicionado estrutura completa do projeto
- Configurado MCP server para Premiere Pro
- Adicionado documentação e skills
- Configurado Gitignore para o projeto
2026-09-08 09:59:31 -04:00

16 lines
379 B
Bash
Executable File

#!/bin/bash
# Busca semântica no banco RAG do sistema Tigre (codeclass/Sources).
# Uso: rag/search_tigre.sh "consulta" [top_k]
set -e
RAG_DIR="$(cd "$(dirname "$0")" && pwd)"
"$RAG_DIR/ensure_tunnel.sh" >&2
PY="${RAG_DIR}/.venv/bin/python3"
if [ ! -x "$PY" ]; then
PY="$(command -v python3)"
fi
export RAG_ENV_FILE="$RAG_DIR/tigre.env"
exec "$PY" "$RAG_DIR/search.py" "$@"