Angular2Guy/AIDocumentLibraryChat
A project to show howto use SpringAI with OpenAI to chat with the documents in a library. Documents are stored in a normal/vector database. The AI is used to create embeddings from documents that are stored in the vector database. The vector database is used to query for the nearest document. That document is used by the AI to generate the answer.
Extends RAG capabilities beyond document search to include image similarity queries using local LLava embeddings, SQL generation from natural language with table/column metadata embeddings, and MCP protocol integration for decoupled tool services. Built on Spring Boot with PostgreSQL vector extensions (pgvector) and supports both OpenAI and local Ollama models, enabling offline inference with GPU acceleration when available. Frontend uses Angular Material with dynamic table rendering for multi-modal search results and generated SQL query outputs.
Stars
32
Forks
14
Language
Java
License
Apache-2.0
Category
Last pushed
Dec 28, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/Angular2Guy/AIDocumentLibraryChat"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
El-12stu/RelaMind
基于 AI 的个人成长轨迹分析系统,通过记录生活、回顾历史、分析模式帮助用户更好地理解自己,实现持续成长。包含智能路由、RAG 检索、自主任务智能体等功能。
AchmadZackyGZ/ecommerce-ai-nextgen
Next-Gen AI-Powered E-Commerce ecosystem built with a high-performance Microservices-ready...
rubin0/spring-ai-examples
A collection of Spring AI examples
xeraa/rag-with-java-springai-elasticsearch
Example of a RAG application using Spring AI, OpenAI and Elasticsearch as a vector database
afreenk26/corporate-jargon-ai
A fun RAG-powered AI that translates corporate jargon into what people actually mean. Built with...