-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRun-RAG.bat
More file actions
41 lines (33 loc) · 723 Bytes
/
Copy pathRun-RAG.bat
File metadata and controls
41 lines (33 loc) · 723 Bytes
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
36
37
38
39
40
41
@echo off
chcp 65001 >nul
cd /d "%~dp0"
echo ========================================
echo RAG Automation System
echo ========================================
echo.
if not exist "main.py" (
echo Error: main.py not found!
pause
exit /b 1
)
python --version >nul 2>&1
if errorlevel 1 (
echo Python not found. Please install Python 3.8+
echo Download: https://www.python.org/downloads/
pause
exit /b 1
)
echo.
echo Please enter the project path to analyze:
set /p PROJECT_PATH="> "
if "%PROJECT_PATH%"=="" (
echo No path provided. Using current directory.
set "PROJECT_PATH=."
)
echo.
echo Analyzing: %PROJECT_PATH%
echo.
python main.py "%PROJECT_PATH%"
echo.
echo Done!
pause