Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes

This commit is contained in:
2026-01-11 18:21:16 +08:00
parent 642dd0ea5f
commit 1ddd49f913
97 changed files with 5909 additions and 451 deletions

33
test_server_simple.bat Normal file
View File

@@ -0,0 +1,33 @@
@echo off
echo Testing LightRAG server startup...
echo.
echo Killing any existing processes on port 3015...
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :3015') do (
echo Killing process %%a
taskkill /F /PID %%a >nul 2>&1
)
echo.
echo Starting server...
cd LightRAG-main
start /B python -m lightrag.api.lightrag_server --port 3015 --host 0.0.0.0 --working-dir rag_storage --input-dir ../inputs --key jleu1212 --auto-scan-at-startup --llm-binding openai --embedding-binding ollama --rerank-binding jina > ..\test_output.txt 2>&1
echo Waiting 10 seconds for server to start...
timeout /t 10 /nobreak > nul
echo.
echo Checking if server is running...
curl.exe -s -o nul -w "HTTP Status: %%{http_code}\n" http://localhost:3015/
echo.
echo Server output (first 20 lines):
type ..\test_output.txt | head -20
echo.
echo Press any key to stop the server...
pause > nul
echo Killing server...
taskkill /F /IM python.exe >nul 2>&1
del ..\test_output.txt