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
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.
Challenges
Information Scattered Across Files
Users needed a faster way to find facts without reading every document by hand.
Repeated Uploads of Common Files
Teams may need the same policies, manuals, or reference documents.
Private Files Mixed With Shared Knowledge
Unscoped retrieval could surface content from unrelated conversations or collections.
Large and Varied Document Formats
Documents and media files may require different extraction techniques.
Forgotten Passwords
Users need a way back into their accounts without asking an administrator.
Incomplete Document Deletion
Removing a UI entry or database row alone could leave files or vectors behind.
Solutions
Document-Grounded RAG Search
Docly retrieves relevant chunks and passes them to the model as context for each answer.
Universal Data Collection
Administrators manage a shared collection that authorized users can query.
Separate Retrieval Scopes
Chat uploads use conversation metadata, Universal Data uses a shared collection, and authorization rules guard both.
Configurable Processing Pipeline
Format-specific extraction plus configured OCR and transcription tools handle each supported content type.
OTP-Based Password Reset
Format-specific extraction plus configured OCR and transcription tools handle each supported content type.
Coordinated Deletion Lifecycle
The intended flow removes linked files, metadata, and Qdrant vectors after ownership and shared-resource checks.
Outcome
Technology Stack
Features
Docly gives you grounded answers while keeping private and shared knowledge separate. Its key capabilities include:
Multiformat Document Upload
Semantic Search and Q&A
Chat-Scoped Documents
Universal Data
Admin Document Controls
OTP Password Recovery
Metadata-Aware Retrieval
Document Deletion Workflow
Local AI Processing
DreamSoft4u
delivers innovative, customized IT solutions that streamline operations, optimize performance, and maximize ROI. Here’s why investors choose us as their trusted partner
20+
Years Experience
1000+
Satisfied Customers
24/7
Continuous Support
249+
Professional Staff
Build Your Dream Project Today
Join forces with a 20-year industry leader and create something extraordinary.
Start a CollaborationWhat Our Customers Say
Nino gorgia
SmartDocs
DreamSoft4u delivered an excellent quality of work at pocket-friendly pricing. They agreed to develop an EMR-EHR-PHR solution with our frequent change requests and bug reports during the development phase. But the team stayed polite during the communication and asked for frequent feedback. Working with them was a pleasure, and their hard work is highly appreciated.
Nitin Chooda
IntouchEMr
Considering DreamSoft4u’s more than 15 years of experience in healthcare software development, I outsourced my mHealth app’s dream project. Not only did they meet my expectations, but they also handed me over a best-in-class mHealth solution competent to combat other contenders in the market. That too at a cost-effective pricing and faster time to market.
Rick Tran
EPIC EMR Integration
Great working experience with DreamSoft4u. Very responsive and very professional. Not only do they understand your needs, but they also suggest the best possible options to expand your project reach. Happy to work with them and will surely give them my next projects!!
Kem Tolliver
MRCS
I am completely satisfied with the work done by DreamSoft4u. They delivered me the same what I expected, a bespoke quality product at budget-friendly pricing. Great team, experienced and skilled developers, highly recommended
Michel.J. Kaldesh
Cyomed
Choosing DreamSoft4u for my custom healthcare software solution was the right choice, and working with them was a pleasure. I strongly recommend DreamSoft4u for any healthcare software solution or mobile app development need as they possess vast experience and a team of experienced developers in the healthcare industry.
Rich Blanton
Sniffle
The team of DreamSoft4u is very knowledgeable in Telemedicine app development. I hired them for my telemedicine app development project, and they delivered the same as I expected. I highly appreciate DreamSoft4u’s work and recommend them as the best telemedicine app development company.


