The Essay Evaluator is an AI-powered web application that leverages the capabilities of LLaMA 3.1 via the Groq API to:
- Provide structured feedback across key writing dimensions
- Generate an overall qualitative review
- Assign objective scores out of 10
- Calculate an average score
- AI-powered structured evaluation
- Language Quality Feedback + Score
- Depth of Analysis Feedback + Score
- Clarity of Thought Feedback + Score
- Overall Summary Feedback
- Average Score Calculation
| Layer | Tools & Libraries |
|---|---|
| Backend | Python, Flask |
| AI Model | Groq API (LLaMA 3.1) |
| Orchestration | LangGraph |
| Model Framework | LangChain |
| Validation | Pydantic |
| Config | python-dotenv |
| Frontend UI | HTML, CSS (minimalist styling) |
git clone https://github.com/BhaveshBhakta/Essay-Evaluator-Using-LangGraph.git
cd Essay-Evaluator-Using-LangGraphpython -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # WindowsInstall packages:
pip install -r requirements.txtCreate a .env file:
GROQ_API_KEY=your_groq_api_key_here
python app.pyThis project demonstrates:
- Practical application of Generative AI in education
- Real-world LLM integration with Flask
- Use of LangGraph for structured multi-step reasoning
- Prompt engineering for assessment workflows
- Clean and user-friendly frontend design
Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request.