- Adicionado estrutura completa do projeto - Configurado MCP server para Premiere Pro - Adicionado documentação e skills - Configurado Gitignore para o projeto
16 lines
379 B
Bash
Executable File
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" "$@" |