This is a personal AI that works entirely offline, using Spring AI for the backend and React for the frontend. The AI leverages the DeepSeek R1 model and requires Ollama for model management.
- Backend: SpringAI framework, deepkseek r1 model, ollama
- Frontend: React, Vite
- Ollama (Download here)
- Node.js (for frontend development)
- Java & Spring Boot (for backend development)
- Download and install Ollama.
- Open a terminal and pull the DeepSeek R1 model version according to your system configuration:
ollama pull deepseek-r1:7b # According to your system config - Verify the installation by listing available models:
Ensure
ollama list
deepseek-r1appears in the list.
git clone <your-repo-url>
cd <your-repo-folder>- Install dependencies:
npm install
- Start the frontend server:
npm run dev
Once both backend and frontend servers are running, open your browser and navigate to http://localhost:3000 to interact with your offline AI.