Skip to content

AI-powered programming learning & interview prep assistant with RAG, LangChain4j, OpenAI, and a React/Vite chat UI.

Notifications You must be signed in to change notification settings

Frida7771/ai-code-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Code Helper

An AI-powered programming learning and interview preparation assistant built with LangChain4j and OpenAI.

AI Code Helper Demo

Spring Boot React LangChain4j Java

✨ Overview

AI Code Helper provides:

  • Learning roadmaps and study plans
  • Project guidance and best practices
  • Job search and interview preparation
  • Real-time programming Q&A

🧱 Tech Stack

  • Backend: Java 21 + Spring Boot
  • AI Framework: LangChain4j
  • LLM: OpenAI (GPT-4o)
  • Embeddings: OpenAI (text-embedding-3-small)
  • Frontend: React + Vite

🚀 Quick Start

Requirements

  • Java 21+
  • Node.js 16+
  • Maven 3.6+
  • OpenAI API key

1) Backend

git clone <repository-url>
cd ai-code-helper

# Set API key
export OPENAI_API_KEY=sk-xxxx

# Run backend
mvn spring-boot:run

2) Frontend

cd ai-code-helper-frontend
npm install
npm run dev

3) Access

  • Frontend: http://localhost:5173
  • Backend: http://localhost:8081/api

🧩 Core Modules

  • AiCodeHelperService: Core chat service
  • AiController: Streaming chat endpoint
  • RagConfig: RAG configuration
  • InterviewQuestionTool: Interview question search
  • SafeInputGuardrail: Input safety checks

About

AI-powered programming learning & interview prep assistant with RAG, LangChain4j, OpenAI, and a React/Vite chat UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published