Hey There.
StackForge_BG_Image
StackForge_Image

StackForge

TechIcon_0TechIcon_1TechIcon_2TechIcon_3TechIcon_4TechIcon_5TechIcon_6TechIcon_7TechIcon_8

About the project.

StackForge_Mockup_Image

A zero-dependency vector database built from scratch in Java 17+ featuring side-by-side HNSW graph search, KD-Tree indexing, and Brute-Force search across Cosine, Euclidean, and Manhattan metrics. Integrated with a local RAG pipeline via Ollama (nomic-embed-text and llama3.2) for document ingestion, top-k context retrieval, and document-grounded answers. Includes a REST API for vector operations and search benchmarking alongside an interactive Web UI with live PCA vector projections.

<

Features

>
Custom Vector Search Engine

HNSW, KD-Tree, and Brute-Force algorithms with Cosine, Euclidean, and Manhattan metrics.

Local RAG Pipeline

Ollama integration with nomic-embed-text and llama3.2 for top-k context retrieval and document-grounded answers.

Live PCA Visualization

Interactive 2D vector visualization with live search benchmarking across graph and tree index structures.

RESTful API Integration

Structured REST API endpoints delivering efficient CRUD operations, error handling, and validated data contracts.

Performance & Scalability

Optimized database queries, clean architectural design, and minimal latency for production workloads.

</

Features

>
<

Tech Stack

/>
Java Java

Object-oriented programming language for building robust, scalable enterprise backend applications.

Ollama Ollama

Framework for running and embedding open-source large language models locally.

RAG RAG

Retrieval-Augmented Generation architecture combining vector search context with LLM inference.

Vector Databases Vector Databases

Specialized database engines engineered to store, index, and query high-dimensional vector embeddings.

Vector Embeddings Vector Embeddings

High-dimensional numerical representations capturing semantic meaning of text and data.

REST APIs REST APIs

Architectural style for designing structured, scalable networked endpoints using standard HTTP.

Maven Maven

Build automation and dependency management tool primarily used for Java projects.

Git Git

Distributed version control system for tracking changes and collaborating on codebases.

GitHub GitHub

Cloud-based hosting service for Git repositories with CI/CD workflows and collaboration.