An AI-powered programming learning and interview preparation assistant built with LangChain4j and OpenAI.
AI Code Helper provides:
- Learning roadmaps and study plans
- Project guidance and best practices
- Job search and interview preparation
- Real-time programming Q&A
- Backend: Java 21 + Spring Boot
- AI Framework: LangChain4j
- LLM: OpenAI (GPT-4o)
- Embeddings: OpenAI (text-embedding-3-small)
- Frontend: React + Vite
- Java 21+
- Node.js 16+
- Maven 3.6+
- OpenAI API key
git clone <repository-url>
cd ai-code-helper
# Set API key
export OPENAI_API_KEY=sk-xxxx
# Run backend
mvn spring-boot:runcd ai-code-helper-frontend
npm install
npm run dev- Frontend:
http://localhost:5173 - Backend:
http://localhost:8081/api
AiCodeHelperService: Core chat serviceAiController: Streaming chat endpointRagConfig: RAG configurationInterviewQuestionTool: Interview question searchSafeInputGuardrail: Input safety checks
