8000
Skip to content

Nazir2608/ai-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chatbot for Handwritten Notes

Production-ready Spring Boot application that uses Vision-Language Models (VLM) to understand handwritten notes, diagrams, and corrections—not just OCR text.

🏗️ Architecture Highlights

  • Storage Strategy Pattern: Switch between Local filesystem and AWS S3 via config
  • LLM Strategy Pattern: Switch between Ollama (local) and OpenAI (cloud) via config
  • Image Understanding: Uses LLaVA or GPT-4V to extract semantic meaning (crossed-out text, diagrams, arrows)
  • Zero Code Changes: Switching providers requires only YAML changes

🚀 Quick Start

Prerequisites

  • Java 21+
  • Maven 3.8+
  • Docker & Docker Compose (optional)
  • Ollama (for local AI) OR OpenAI API key

1. Local Development (IntelliJ/VS Code)

# Clone and enter directory
cd ai-chatbot

# Build
./mvnw clean package

# Run with defaults (Local storage + Ollama)
java -jar target/ai-chatbot-1.0.0.jar

About

Production-ready Spring Boot application that uses Vision-Language Models (VLM) to understand handwritten notes, diagrams, and corrections—not just OCR text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

0