You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Government of Pakistan | Ministry of Planning, Development & Special Initiatives
π Verified Performance Metrics
Metric
Score
Verification
In-Scope Accuracy
95.0%
38 Test Sessions
Numeric Accuracy
100%
20-Question Benchmark
Off-Scope Detection
100%
Human + AI Verified
Red-Line Detection
100%
Human + AI Verified
Hallucination Rate
0%
Multi-Model Cross-Check
Source Citation
100%
Every Response
π€ An enterprise-grade Retrieval-Augmented Generation (RAG) system providing instant, accurate, and traceable responses based on the Manual for Development Projects 2024
PDBOT is an enterprise-grade Retrieval-Augmented Generation (RAG) system developed to provide instant, accurate, and verifiable responses regarding the Manual for Development Projects 2024 issued by the Government of Pakistan's Ministry of Planning, Development & Special Initiatives.
No Hardcoded Values: All financial limits from manual directly
RAG-First Approach: Every numeric query goes through full pipeline
Single-Forum Precision: "DDWP limit?" returns only DDWP value
π Answer Quality Improvements (v3.3.2)
100-Word Limit: Expanded from 70 for complete answers
Numeric Protection: Never cuts mid-number (e.g., "Rs. 2,000 million")
Sentence Boundary Respect: Truncation at complete sentences only
2-3 Sentence Answers: Balanced detail and conciseness
π Groq API Controls
Force Groq Mode: Admin toggle for cloud LLM
Status Endpoint:/admin/groq-status
Toggle Endpoint:/admin/groq-toggle
π± Previous Features (v2.5.x)
Smart greeting/ambiguous detection
ChatGPT-style follow-up suggestions
Mobile-responsive widget
Session memory
Statistics dashboard
π Version History
Version
Date
Highlights
v3.3.2
Dec 9, 2025
Answer truncation fix, 100-word limit
v3.3.1
Dec 9, 2025
Remove all hardcoded values
v3.3.0
Dec 8, 2025
Major RAG reconstruction, precision chunking
v2.5.0
Dec 3, 2025
Smart interactions, comparison queries
v2.4.9
Dec 2, 2025
Mobile access, Cloudflare tunnel
v2.2.0
Nov 28, 2025
React widget, contextual memory
v2.0.0
Nov 20, 2025
Enterprise refactor, security update
v1.0.0
Oct 25, 2025
Initial release
Development Timeline
OCT 2025 NOV 2025 DEC 2025
ββββββββ ββββββββ ββββββββ
Oct 16: Project Start Nov 5: v2.0 Reranker Dec 1: v2.2 Widget
Oct 25: v1.0 Release Nov 12: v2.1 Numeric Dec 3: v2.5.0 Smart
Oct 31: v1.1 Classifier Nov 20: Enterprise Dec 8: v3.3.0 RAG
Dec 9: v3.3.2 β NOW
π± Mobile Access
Access PDBOT from Any Device
PDBOT supports external access via Cloudflare Tunnel, enabling use from any phone or device on any network.
Chat Interface
Response with Citations
Enable External Access
# 1. Start the main server
.\run_widget.ps1
# 2. In a new terminal, start the Cloudflare tunnel
.\start_tunnel.ps1
# 3. Share the generated URL
Mobile Features
Feature
Description
π± Responsive Design
Optimized for all screen sizes
β‘ Real-time Typing
Animated typing indicator
π Secure Connection
HTTPS via Cloudflare
π Works Anywhere
Access from any network
π¬ Full Functionality
Same accuracy as desktop
π₯ Download Answers
Save responses as .txt
π‘οΈ Security
Data Protection
Measure
Implementation
Status
No PII Storage
User data processed in-memory only
β Active
Session Isolation
Each session completely isolated
β Active
Memory Cleanup
Data cleared on session end
β Active
No Query Logging
User queries not persisted
β Active
Input Security
Protection
Implementation
Query Length Limit
Maximum 2000 characters
Special Character Filter
Dangerous characters sanitized
SQL Injection Prevention
Parameterized queries
XSS Prevention
HTML entity encoding
Command Injection Block
Shell metacharacter filtering
Network Security
Feature
Status
HTTPS/TLS
β Via Cloudflare
CORS
β Configurable
Rate Limiting
π§ Ready
API Authentication
π§ Ready
For detailed security information, see SECURITY.md.
β οΈ Limitations
Limitation
Status
Notes
Single Document Only
Current
Multi-doc planned
English Only
Current
Urdu support planned
Requires Ollama
Primary
Groq fallback available
Important Disclaimers
β οΈ IMPORTANT:
β’ PDBOT provides INFORMATIONAL responses only - not legal or official advice
β’ Always verify critical information against the official Manual PDF
β’ Based on Manual for Development Projects 2024 - may not reflect future amendments
β’ AI-generated responses should be treated as guidance, not authoritative decisions
π¨βπ» Developer Information
M. Hassan Arif Afridi
Electrical Engineering Graduate GIKI - Ghulam Ishaq Khan Institute
Development Period: Oct 16, 2025 β Present (54 Days) Test Sessions: 38 | Queries Tested: 500+
π License
PROPRIETARY SOFTWARE - ALL RIGHTS RESERVED
Copyright (c) 2025 M. Hassan Arif Afridi
This software may NOT be copied, modified, or distributed without
explicit written permission. See LICENSE file for details.
Permitted: Evaluation, Academic Research, GoP Internal Use (with approval)