Please note, this project is a prototype and not intended for production use.
- A Spring Boot application providing intelligent customer support using Retrieval-Augmented Generation (RAG)
- Uses vector store for semantic document search
-
Document Upload
- Supports markdown and text files
- Content-based duplicate detection using SHA-256 hashing
-
Vector Storage
- Semantic search capabilities
- Efficient document retrieval
- Metadata tracking for each document chunk
-
REST API
- Document management endpoints
- Query interface for support questions
- Swagger/OpenAPI documentation
- Java 21 or higher
- Maven 3.6+
- Vector database (Postgres with pgvector)
- Ollame with mistral model for chat and nomic-embed-text for embeddings
- Clone the repository to your local machine
- Run
mvn clean installto build the project - Start the application using
mvn spring-boot:run - Access the application at
http://localhost:8080
All dependencies will be automatically downloaded and started during the build process. You can see dependencies in docker-compose.yml file
- Available at:
http://localhost:8080/swagger-ui.html - Interactive API testing
- Complete endpoint documentation
- Request/response examples