Quick Start
Get LLMOps Eval running locally in minutes.
Prerequisites
| Requirement | Version |
|---|---|
| Java | 21+ |
| Python | 3.11+ |
| Node.js | 18+ |
| PostgreSQL | 16 |
| Redis | 7 |
| Docker | Optional |
Option 1: Docker Compose (Recommended)
The fastest way to get started.
git clone https://github.com/ashwithpoojary98/llmops-eval.git
cd llmops-eval
docker-compose up -d
Access:
- Frontend: http://localhost:3000
- Spring Boot API: http://localhost:8080
- FastAPI Docs: http://localhost:8000/docs
Option 2: Manual Setup
1. Clone the Repository
git clone https://github.com/ashwithpoojary98/llmops-eval.git
cd llmops-eval
2. Database Setup
# Using Docker
docker run -d \
--name postgres-llmops \
-e POSTGRES_DB=llmops_eval \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-p 5432:5432 \
postgres:16
3. Spring Boot API
# Set environment variables
export DATABASE_URL=jdbc:postgresql://localhost:5432/llmops_eval
export DATABASE_USERNAME=postgres
export DATABASE_PASSWORD=postgres
export JWT_SECRET_KEY=your-secure-secret-key
export LLMOPS_ADMIN_EMAIL=admin@example.com
export LLMOPS_ADMIN_PASSWORD=ChangeMe123!
# Run
./mvnw spring-boot:run
API starts on http://localhost:8080
4. FastAPI Evaluation Engine
cd evaluation-engine
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your database URL
python run.py
Evaluation engine starts on http://localhost:8000
5. Next.js Frontend
cd frontend
npm install
# Configure environment
echo "NEXT_PUBLIC_API_URL=http://localhost:8080/api" > .env.local
npm run dev
Frontend starts on http://localhost:3000
First Evaluation
- Open http://localhost:3000
- Log in with your admin credentials
- Create a Project
- Upload a Dataset (CSV or JSON)
- Configure an LLM Endpoint (OpenAI, Anthropic, etc.)
- Select Metrics (BLEU, Faithfulness, etc.)
- Run Evaluation and view results