-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
26 lines (26 loc) · 723 Bytes
/
Copy pathsetup.bat
File metadata and controls
26 lines (26 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
@echo off
echo ================================================
echo LangChain Agentic Vision RAG — Auto Setup
echo ================================================
echo.
echo [1/3] Installing Python packages...
python -m pip install -r requirements.txt
echo.
echo [2/3] Checking Ollama (optional)...
where ollama >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
echo Ollama found! Pulling models...
ollama pull llava
ollama pull nomic-embed-text
ollama pull mistral
) ELSE (
echo Ollama not found. Using Mistral AI API instead.
echo Get free key at: https://console.mistral.ai
)
echo.
echo [3/3] Setup complete!
echo.
echo Add your Mistral API key to api.env then run:
echo streamlit run app.py
echo.
pause