
ChatPol: Police AI
Transforming a slow monolithic chatbot into a high-speed multi-agent RAG system for police inquiries.
View projectSee more
The original system was inefficient: a single overwhelmed agent attempting to manage over 40 complex legal documents in a single database. This resulted in unacceptable response times of 40-50 seconds, hindering police operations.
Monolithic architecture and document overload were collapsing response times.

Input: User_Query.json
We redesigned the system by dividing cognitive load into a specialized agent architecture with RAG:
RAG Implementation
Integration of Retrieval-Augmented Generation to connect the LLM with the document base. The system retrieves precise legal snippets before generating a response, eliminating hallucinations.

Domain-Specific Agents
Multi-agent architecture where a 'router' classifies the query and delegates it to the corresponding specialist agent (Traffic, Penal, Immigration), radically improving accuracy.

ROI & Results
Extreme Speed
Response time reduced from 50s to under 10s, enabling real-time inquiries.
Legal Precision
RAG agent segmentation eliminated hallucinations by narrowing search context.
Operational Efficiency
The system now scales without performance degradation when adding more regulations.