Docly -  

Docly: RAG-Powered Document Q&A Assistant

Docly reads your documents and answers your questions with context pulled straight from them. Keep files private inside a chat, or query a shared library that administrators manage for authorized users.

Team

3–4 Members

Duration

3 Months

Technology

Python (FastAPI), React, PostgreSQL, Qdrant, Ollama

case5-agent

Product Overview

Docly is a Retrieval-Augmented Generation (RAG) assistant that turns your documents into something you can question. You upload a file, ask a question, and get a reply shaped by the content itself. Under the hood, Docly combines text extraction, chunking, embeddings, and vector search. The language model then answers using the relevant passages that the search returns. Docly supports two document workflows: private files you add inside a chat, and Universal Data. Universal Data is a shared collection that administrators manage for authorized users. Users register and log in, and an OTP-based flow handles password recovery.

How It Works

Here is how Docly gets from a file to an answer. A document enters through your chat or through an administrator’s Universal Data upload. The backend extracts the content, breaks it into chunks, generates embeddings, and indexes them in Qdrant with metadata. When you ask something, your question gets embedded too. Docly then retrieves relevant chunks from the right document scope. Those chunks, plus the chat history, reach the language model as context. The answer stays grounded in your documents.

User Cases

  • Personal Document Q&A – Upload files into a conversation and question them directly, without reading page by page.
  • Shared Knowledge Search – Give authorized users one place to search common reference material, no personal copies needed.
  • Technical Documentation Assistant – Track down explanations and key passages in manuals, programming books, and source files.
  • Multimodal Document Understanding – Handle PDF, DOCX, text, and media files through configured extraction, OCR, transcription, or video tools.
  • Administrative Knowledge Management – Let administrators maintain the shared Universal Data collection.
  • Account Recovery – Reset a forgotten password through OTP verification, without waiting on an administrator.

Benefits

  • Context-Aware Answers – Retrieval supplies relevant document content to the language model before it answers.
  • Private and Shared Knowledge Paths – Chat uploads stay separate from the Universal Data collection that administrators manage.
  • Fewer Duplicate Uploads – Shared reference documents can be maintained centrally, which cuts down repeat uploads of the same files.
  • Tighter Retrieval Control – Document and chat metadata can filter results to the right scope.
  • Local-First AI – Ollama and local processing tools can be used where configured.
  • Self-Service Recovery – A dedicated flow helps users regain account access on their own.
  • React Frontend – Powers the login, chat, document upload, password recovery, and Universal Data management screens.
  • FastAPI Backend – Handles authentication, document APIs, processing orchestration, retrieval, and authorization.
  • PostgreSQL – Stores users, documents, sessions, chat history, and related metadata as defined by the configured schema.
  • OpenAI Language Model – Generates conversational replies and data-rich outputs.
  • Qdrant – Holds chunk embeddings and their metadata for semantic retrieval.
  • Ollama – Supplies the configured local embedding and language model capabilities.
  • Document Processing Tools – Configured parsers and tools, including Tesseract, Faster Whisper, and FFmpeg, handle supported content types.

    Looking For A Job

    Challenges

    1
    Information Scattered Across Files

    Users needed a faster way to find facts without reading every document by hand.

    2
    Repeated Uploads of Common Files

    Teams may need the same policies, manuals, or reference documents.

    3
    Private Files Mixed With Shared Knowledge

    Unscoped retrieval could surface content from unrelated conversations or collections.

    4
    Large and Varied Document Formats

    Documents and media files may require different extraction techniques.

    5
    Forgotten Passwords

    Users need a way back into their accounts without asking an administrator.

    6
    Incomplete Document Deletion

    Removing a UI entry or database row alone could leave files or vectors behind.

    Solutions

    1
    Document-Grounded RAG Search

    Docly retrieves relevant chunks and passes them to the model as context for each answer.

    2
    Universal Data Collection

    Administrators manage a shared collection that authorized users can query.

    3
    Separate Retrieval Scopes

    Chat uploads use conversation metadata, Universal Data uses a shared collection, and authorization rules guard both.

    4
    Configurable Processing Pipeline

    Format-specific extraction plus configured OCR and transcription tools handle each supported content type.

    5
    OTP-Based Password Reset

    Format-specific extraction plus configured OCR and transcription tools handle each supported content type.

    6
    Coordinated Deletion Lifecycle

    The intended flow removes linked files, metadata, and Qdrant vectors after ownership and shared-resource checks.

    Outcome

    Technology Stack

    • openai
    • fastapi_api
    • postgreSQL
    • qdrant
    • Ollama
    • Tesseract
    • ffmpeg

    Features

    Docly gives you grounded answers while keeping private and shared knowledge separate. Its key capabilities include:

    Interactive-chat-during-live-sessions

    Multiformat Document Upload

    output

    Semantic Search and Q&A

    access-control

    Chat-Scoped Documents

    Seamless-Connectivity

    Universal Data

    Real-Time-Chat

    Admin Document Controls

    Password-protection-and-encryption

    OTP Password Recovery

    Big-Data-Predictive-Analytics

    Metadata-Aware Retrieval

    document

    Document Deletion Workflow

    Robotic-Process-Automation

    Local AI Processing

    mobile-agent-new-1

    DreamSoft4u

    delivers innovative, customized IT solutions that streamline operations, optimize performance, and maximize ROI. Here’s why investors choose us as their trusted partner

    front-developer

    20+

    Years Experience

    front-developer

    1000+

    Satisfied Customers

    front-developer

    24/7

    Continuous Support

    front-developer

    249+

    Professional Staff

    Build Your Dream Project Today

    Join forces with a 20-year industry leader and create something extraordinary.

    Start a Collaboration

    More Case Study

    Viewer’s Favourite Blogs

    FDA regulations for medical imaging software showing PACS, MIMPS, and AI compliance pathways.

    FDA Regulations for PACS and Medical Imaging Software: A Complete 2026 Guide

    You can spend months building medical imaging software, only to discover a costly surprise. One wrong FDA classification can delay ...
    custom ERP software development modules including finance, HR, and inventory connected in one platform

    Custom ERP Software Development: Cost, Features & Step-by-Step Guide

    Most growing companies do not fail because they lack ambition. They slow down because their tools stop talking to each ...
    Free website builder for small business - comparison of Wix, WordPress, and Weebly dashboards

    Best Free Website Builders for Small Business

    The best free website builders for small business in 2026 include Wix, WordPress, and Weebly - each offering drag-and-drop tools, ...