-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_backend.bat
More file actions
25 lines (22 loc) · 714 Bytes
/
start_backend.bat
File metadata and controls
25 lines (22 loc) · 714 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
@echo off
cd backend
echo ========================================
echo Starting Info Naut Backend
echo ========================================
echo.
echo Port: 8000
echo Database: SQLite (./data/infonaut.db)
echo Vector Store: ChromaDB (local)
echo Guest Mode: ENABLED (No auth required)
echo CORS: localhost:3000, 3001, 3002
echo.
set OPENAI_API_KEY=your-openai-api-key-here
set RAG_STORE=sqlite
set SQLITE_FILE=./data/infonaut.db
set VECTOR_STORE_TYPE=chroma
set EMBEDDING_MODEL=text-embedding-3-small
set GENERATION_MODEL=gpt-4o-mini
set PROJECT_NAME=Info Naut
set VERSION=1.0.0
echo Starting server (migrations will run automatically)...
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload