Skip to content

artsal/ai-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Assistant – Local RAG-based Document Intelligence System

🚀 Built as a hands-on exploration of AI engineering using Spring AI and Retrieval-Augmented Generation (RAG) patterns.


🚧 Project Status

This is an actively evolving project focused on learning and implementing real-world AI engineering patterns.


📌 Overview

AI Assistant is a backend application that enables querying and extracting insights from documents using retrieval-based techniques.

The system is designed to simulate real-world LLM-powered applications while running fully locally, without requiring paid APIs.


🎯 Purpose

This project was built to:

  • Move beyond theoretical AI learning into hands-on implementation
  • Understand how real-world AI systems are structured (chat, retrieval, services)
  • Explore Retrieval-Augmented Generation (RAG) patterns in a practical setup
  • Build a cost-efficient AI system that runs without external dependencies

✨ Key Features

  • 📄 Document ingestion and processing
  • 🔍 Context-aware retrieval
  • 💬 Chat-based query interface
  • 🧩 Modular architecture (Chat + RAG layers)
  • 💻 Fully local execution (no paid LLM APIs)

🧱 Tech Stack

  • Backend: Java, Spring Boot
  • AI Framework: Spring AI
  • Architecture: Layered (Controller → Service → AI components)
  • Configuration: YAML

🧠 Architecture Overview

The application is structured into clear, modular components:

🔹 Chat Layer

Handles user interaction and query processing.

🔹 RAG Layer

Responsible for:

  • Document ingestion
  • Context retrieval

🔹 Service Layer

Encapsulates business logic and orchestration.


⚙️ How It Works

  1. User submits a query via the chat endpoint
  2. System retrieves relevant document context
  3. Context is used to generate a response
  4. Response is returned to the user

This follows a simplified Retrieval-Augmented Generation (RAG) workflow.


About

Local AI assistant using Spring AI and RAG concepts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors