Skip to content

divyamohan1993/llm-evaluator

Repository files navigation

🧠 SmartEvaluator-Omni

A Hybrid-AI Examination System powered by a Consensus Swarm of 4 Distinct AI Models

Python 3.10+ FastAPI LangChain

🌟 Overview

SmartEvaluator-Omni is a next-generation AI-powered examination grading system that leverages a Multi-Agent Swarm architecture to provide fair, unbiased, and comprehensive student answer evaluation.

Created by: Divya Mohan (Software Architect)

Core Features

  • πŸ€– Consensus Swarm: 4 specialized AI agents (Gemini + Llama + Mistral/Claude + BERT) work in parallel
  • πŸ‘€ Digital Twin Engine: Mimics each teacher's unique grading personality using Vector RAG
  • ⚑ Hybrid Infrastructure: Seamlessly routes between Cloud APIs and Local/Onboard LLM inference
  • πŸ“Š Weighted Consensus: Configurable scoring matrix with veto power for plagiarism detection

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        SmartEvaluator-Omni                         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   Swarm Engine  β”‚  β”‚  Digital Twin   β”‚  β”‚ Hybrid Infra Router β”‚  β”‚
β”‚  β”‚   (4 Agents)    β”‚  β”‚   (Persona RAG) β”‚  β”‚  (Cloud ↔ Local)    β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚           β”‚                    β”‚                      β”‚             β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚                    FastAPI Async Backend                      β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  ChromaDB (Teacher Vectors) β”‚ Ollama (Local LLM) β”‚ Cloud APIs      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ‘₯ Open for Contributors

This project is open source and welcomes contributions! Each module has its own README with detailed instructions.

Technical Modules (Programming Required)

Role Module Folder Instructions
AI/ML Contributor Swarm Engine backend/swarm/ πŸ“– Swarm README
Data Science Contributor Digital Twin backend/digital_twin/ πŸ“– Digital Twin README
Cloud/DevOps Contributor Infrastructure + Consensus backend/infra/ + config/ πŸ“– Infra README, πŸ“– Consensus README

Business Modules (No Programming Required)

Role Focus Area Instructions
Business/Marketing Contributor Marketing & Finance πŸ“– Marketing Strategy

Getting Started (For Contributors)

  1. Fork and clone the repo:

    git clone https://github.com/divyamohan1993/llm-evaluator.git
    cd llm-evaluator
  2. Create a feature branch:

    git checkout -b feat/<your-feature>
  3. Read your module's README - it contains:

    • Architecture diagrams
    • TODO list (organized by priority)
    • API references
    • Testing commands
  4. Make changes, commit, and push:

    git add .
    git commit -m "Your descriptive message"
    git push origin feat/<your-feature>
  5. Create a Pull Request for review

Getting Started (For Business Contributors)

  1. Read your instructions: See Marketing Strategy Guide
  2. Tools you'll use: Word, Excel, PowerPoint, Google Docs - no coding required!
  3. Deliverables location: docs/ folder for all business documents

πŸ”„ Auto-Push Monitor

Stop worrying about manual commits. We have included an automated tool that watches your changes and syncs them to Git automatically.

To start the monitor:

  1. Open a terminal in the project root.
  2. Run:
.\monitor.bat
  1. Keep this window open. It will automatically detect changes, commit them with meaningful messages, and push to your branch.

πŸš€ Quick Start

The Easiest Way: Just run the all-in-one launcher. It handles Git updates, dependencies, and server startup.

.\run_everything.bat

Manual Way:

# Clone the repository
git clone https://github.com/divyamohan1993/llm-evaluator.git
cd llm-evaluator

# Create virtual environment
python -m venv venv
source venv/bin/activate  # Linux/Mac
# or: .\venv\Scripts\activate  # Windows

# Install dependencies
pip install -r requirements.txt

# Set up environment variables
cp .env.example .env
# Edit .env with your API keys

# Start the development server
uvicorn backend.main:app --reload --host 0.0.0.0 --port 8000

πŸ“¦ Tech Stack

  • Orchestration: LangChain / CrewAI (Python)
  • Backend: FastAPI (Async/Await)
  • Vector DB: ChromaDB (Local) / Pinecone (Cloud)
  • Local Inference: Ollama (Llama 3)
  • Cloud Inference: Google Gemini Pro, Anthropic Claude, OpenAI GPT-4

πŸ‘¨β€πŸ’» Project Credits

  • Created & Designed by: Divya Mohan
  • Architecture: Divya Mohan
  • Technical Specifications: Divya Mohan
  • Workflow Orchestration: Divya Mohan

πŸ“„ License

MIT License - See LICENSE for details.

About

SmartEvaluator-Omni is a next-generation AI-powered examination grading system that leverages a Multi-Agent Swarm architecture to provide fair, unbiased, and comprehensive student answer evaluation.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors