rapid-documents

bymik

# Document Chat Assistant — Product Requirements (Prompt for Tool Evaluation) ## Goal Build a production-ready **Chat with Documents assistant** that allows users to upload a large collection of files and ask natural language questions to retrieve accurate information from them. The system should understand document content, identify relevant information, and generate clear answers based on the available documents. This document describes the **expected capabilities and behaviors** of the system so that it can be tested using existing production-ready tools in the market. --- # Core Capabilities ## 1. Document Understanding The system should be able to process different types of documents and understand the content inside them. Examples of supported content include: - Text paragraphs - Structured tables - Lists and bullet points - Headings and sections - Multi-page documents - Spreadsheet-style data The assistant should treat the documents as a knowledge base and use them to answer questions. --- ## 2. Question Answering Users should be able to ask questions in natural language such as: - Product related questions - Information lookup - Comparison questions - Summary requests - Clarification questions - Follow‑up questions based on previous answers The system should respond with **clear and accurate answers based only on the available documents**. --- ## 3. Table Understanding Many documents contain structured data in tables. The assistant should be able to: - Understand table structure - Read rows and columns - Extract values from tables - Compare numbers - Identify patterns or differences in rows If a question is related to numerical or tabular information, the system should return answers based on that data. --- ## 4. Multi‑Document Reasoning Some questions may require information from **multiple documents**. The assistant should be able to: - Combine information from different sources - Compare data between files - Provide consolidated answers - Mention the relevant sources used for the answer --- ## 5. Document Discovery Users may also want to discover documents themselves. The assistant should support queries such as: - Finding documents related to a topic - Identifying which document contains certain information - Listing available documents - Suggesting relevant files for further reading --- ## 6. Conversation Context The assistant should support **multi‑turn conversations**. Example behavior: User question → assistant answers User follow‑up → assistant understands context and continues the conversation. The system should remember recent conversation context so follow‑up questions make sense. --- ## 7. Answer Quality Generated answers should: - Be concise and easy to read - Be factually grounded in the documents - Avoid hallucinating information not present in documents - Clearly present structured information when necessary Responses may include: - Text explanations - Bullet points - Short summaries - Tables when relevant --- ## 8. Source Awareness Whenever possible, the assistant should indicate **which document or section the information came from**. This helps users verify answers and explore the original source. --- ## 9. Large Knowledge Base Support The system should be able to operate with a **large document repository**, potentially containing thousands of files. Expected capabilities include: - Fast search across many documents - Accurate retrieval of relevant information - Stable performance as the dataset grows --- ## 10. User Experience Expectations The assistant interface should allow users to: - Ask questions easily - View clear answers - See referenced sources - Continue conversation naturally The experience should feel similar to interacting with a knowledgeable assistant that has read all the uploaded documents. --- # Evaluation Objective This requirement document is intended to test and evaluate **existing AI document assistant tools available in the market**. The goal is to observe: - How accurately the tool retrieves information - How well it understands structured data - Whether it handles multi‑document queries - How natural and helpful the generated responses are The system should behave like a **reliable knowledge assistant for document collections**.

LandingLoginUsersDashboardUploadSettingsDemoChatSources
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks25

#1

Implement Global Theme System

To Do

As a Frontend Developer, I want a unified theme and color system aligned with all mock-design pages so that every component and page shares consistent visual language.

AI 70%
Human 30%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#14

Implement Document Search API

To Do

As a backend developer, I want a FastAPI endpoint that performs semantic and keyword document discovery across the repository so that users can find relevant documents by topic or content.

AI 55%
Human 45%
High Priority
2 days
AI Credits:7
Backend Developer
#13

Implement Chat Q&A API

To Do

As a backend developer, I want a FastAPI endpoint that receives user questions, maintains conversation context, and returns document-grounded answers with cited sources so that the chat feature is fully functional.

AI 60%
Human 40%
High Priority
3 days
AI Credits:9
Backend Developer
#12

Implement Document Upload API

To Do

As a backend developer, I want a FastAPI endpoint that accepts PDF, DOCX, and XLSX files up to 100MB, validates formats, stores files, and triggers ingestion so that uploaded documents are reliably processed.

AI 55%
Human 45%
High Priority
2.5 days
AI Credits:8
Backend Developer
#15

Implement User Management API

To Do

As a backend developer, I want FastAPI endpoints for listing, creating, updating, and deactivating users with role-based access control so that admins can manage the user base programmatically.

AI 50%
Human 50%
Medium Priority
2 days
AI Credits:7
Backend Developer
#18

Implement Performance Monitoring API

To Do

As a backend developer, I want FastAPI endpoints that expose system metrics such as query latency, document counts, and error rates so that admins can monitor platform health in real time.

AI 45%
Human 55%
Medium Priority
1.5 days
AI Credits:5
Backend Developer
#16

Implement Admin Settings API

To Do

As a backend developer, I want FastAPI endpoints to read and update system configuration including localization, timezone, and LLM routing settings so that admins can control platform behavior at runtime.

AI 50%
Human 50%
Medium Priority
1.5 days
AI Credits:6
Backend Developer
#17

Implement Sources Reference API

To Do

As a backend developer, I want a FastAPI endpoint that returns structured source citations linked to each answer including document name, page, and excerpt so that the frontend can render verifiable references.

Depends on:#13
Waiting for dependencies
AI 55%
Human 45%
High Priority
1.5 days
AI Credits:6
Backend Developer
#6

Build Upload Page

To Do

As a general user, I want an upload page that accepts PDF, DOCX, and XLSX files up to 100MB with a drag-and-drop zone, file queue list, and clear progress feedback so that I can add documents to my knowledge base. Implement based on the existing Upload (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 87%
Human 13%
High Priority
2 days
AI Credits:7
Frontend Developer
#11

Build Demo Page

To Do

As a guest user, I want a demo page where I can ask a sample question and view an AI-generated answer without registering so that I can evaluate the product before committing. Implement based on the existing Demo (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Low Priority
1.5 days
AI Credits:6
Frontend Developer
#10

Build Settings Page

To Do

As an admin, I want a settings page to configure system-level options including localization, timezone, and performance parameters so that the platform behaves according to organizational requirements. Implement based on the existing Settings (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
Medium Priority
2 days
AI Credits:7
Frontend Developer
#3

Build Landing Page

To Do

As a guest user, I want to see a compelling landing page that introduces the product and directs me to login or try the demo so that I understand the value proposition immediately. Implement based on the existing Landing (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:7
Frontend Developer
#4

Build Login Page

To Do

As a registered user, I want a secure and accessible login page that authenticates me and redirects me to my dashboard so that I can access my documents and conversations. Implement based on the existing Login (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#21

Build Vector Embedding Pipeline

To Do

As a Data Engineer, I want an embedding pipeline that converts document chunks into vector representations and stores them in WeaviateDB so that semantic search and retrieval are accurate and fast at scale.

Depends on:#12
Waiting for dependencies
AI 72%
Human 28%
High Priority
2.5 days
AI Credits:8
Data Engineer
#5

Build Dashboard Page

To Do

As a general user, I want a dashboard that shows my uploaded documents, recent activity, stat cards, and quick-access actions so that I can efficiently navigate my workspace. Implement based on the existing Dashboard (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 88%
Human 12%
High Priority
2.5 days
AI Credits:8
Frontend Developer
#19

Configure LiteLLM Routing Layer

To Do

As an AI Engineer, I want to configure LiteLLM to route prompts to the appropriate language models (GPT, Claude) based on task type and load so that the system uses models efficiently and cost-effectively.

Depends on:#13
Waiting for dependencies
AI 75%
Human 25%
High Priority
2 days
AI Credits:8
AI Engineer
#2

Define Design Token Library

To Do

As a UI/UX Designer, I want all spacing, typography, color, and elevation tokens extracted from mock designs into a shared token file so that developers can reference a single source of truth.

Depends on:#1
Waiting for dependencies
AI 60%
Human 40%
High Priority
1 day
AI Credits:5
UI/UX Designer
#7

Build Chat Page

To Do

As a general user, I want a conversational chat interface where I can ask questions, receive document-grounded answers, and continue multi-turn dialogues so that I can extract insights from my documents naturally. Implement based on the existing Chat (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
High Priority
3 days
AI Credits:9
Frontend Developer
#9

Build Users Management Page

To Do

As an admin, I want a users management page where I can view, edit, and control access for all registered users so that I can maintain system security and proper permissions. Implement based on the existing Users (v2) JSX design.

Depends on:#1
Waiting for dependencies
AI 90%
Human 10%
Medium Priority
2 days
AI Credits:7
Frontend Developer
#8

Build Sources Page

To Do

As a general user, I want a sources page that lists document references cited per answer so that I can verify and trace the origin of every piece of information. Implement based on the existing Sources (v1) JSX design.

Depends on:#1
Waiting for dependencies
AI 85%
Human 15%
High Priority
1.5 days
AI Credits:6
Frontend Developer
#22

Implement Document Ingestion Pipeline

To Do

As a Data Engineer, I want a pipeline that parses PDF, DOCX, and XLSX files, extracts text and table content, chunks the content intelligently, and feeds it into the embedding pipeline so that all uploaded formats are fully indexed.

Depends on:#21#12
Waiting for dependencies
AI 70%
Human 30%
High Priority
3 days
AI Credits:9
Data Engineer
#20

Build LangChain Conversational Workflow

To Do

As an AI Engineer, I want to implement a LangChain conversational chain with memory and retrieval-augmented generation so that multi-turn chats remain context-aware and fully grounded in uploaded documents.

Depends on:#19#13
Waiting for dependencies
AI 80%
Human 20%
High Priority
3 days
AI Credits:10
AI Engineer
#24

Implement Persian/English Localization

To Do

As a Frontend Developer, I want i18n support for Persian and English including RTL layout, Jalali calendar rendering, and IRST timezone formatting so that the application is fully usable for Persian-speaking users.

Depends on:#5#1#10#7
Waiting for dependencies
AI 60%
Human 40%
Medium Priority
2 days
AI Credits:7
Frontend Developer
#23

Integrate Document Summarization Feature

To Do

As an AI Engineer, I want to integrate an LLM-powered summarization step into the ingestion and query workflow so that users can request concise summaries of long documents or selected sections.

Depends on:#20#22
Waiting for dependencies
AI 82%
Human 18%
Medium Priority
1.5 days
AI Credits:7
AI Engineer
#25

Implement Guest Demo Mode Backend

To Do

As a guest user, I want to interact with a sandboxed demo mode that uses preloaded sample documents and returns answers without exposing sensitive data so that I can safely evaluate the product before registering.

Depends on:#20#13
Waiting for dependencies
AI 65%
Human 35%
Low Priority
1.5 days
AI Credits:6
Backend Developer
Login: Sign In
Dashboard: View Stats
Dashboard: Manage Users
Users: Edit Access
Settings: Configure System
Settings: Monitor Performance