Add RAG_WEB_LOADER + Playwright mode + improve stability of search

This commit is contained in:
Rory committed 2025-01-28 23:03:15 -06:00
1 parent b72150c881
commit 4e8b390682
10 files changed
+220 -39

No files matched your search

+9
View File
@@ -6,6 +6,15 @@ SETLOCAL ENABLEDELAYEDEXPANSION
SET "SCRIPT_DIR=%~dp0"
cd /d "%SCRIPT_DIR%" || exit /b
:: Add conditional Playwright browser installation
IF /I "%RAG_WEB_LOADER%" == "chromium" (
echo Installing Playwright browsers...
playwright install chromium
playwright install-deps chromium
python -c "import nltk; nltk.download('punkt_tab')"
)
SET "KEY_FILE=.webui_secret_key"
IF "%PORT%"=="" SET PORT=8080
IF "%HOST%"=="" SET HOST=0.0.0.0