AskMyDoc - RAG with Gemini
Back to Projects

AskMyDoc - RAG with Gemini

JavaSpring BootGemini APIPostgreSQLDocker

Overview

AskMyDoc is a Retrieval-Augmented Generation (RAG) application that allows users to upload documents (PDF, TXT, DOCX) and ask questions about them in natural language. Powered by Spring Boot and Google's Gemini 1.5 Flash model, it uses vector embeddings (stored in PostgreSQL) to retrieve relevant context and generate accurate answers. The system features a clean UI for document management and a comprehensive REST API.

Key Contributions

  • Integrated Google Gemini API for embeddings and text generation.
  • Implemented vector similarity search using PostgreSQL.
  • Built a robust document ingestion pipeline supporting multiple formats.