Spaces:
No application file
No application file
Update README.md
Browse files
README.md
CHANGED
@@ -9,115 +9,4 @@ pinned: true
|
|
9 |
thumbnail: >-
|
10 |
https://cdn-uploads.huggingface.co/production/uploads/6766a33b4719dd8d49da679a/bU5E-r-i7srSaeT19R4Qg.png
|
11 |
short_description: DAPA enables users to report financial scams.
|
12 |
-
---
|
13 |
-
# DAPA (Digital Arrest Protection App)
|
14 |
-
|
15 |
-
**Inspired by the Hindi word 'धप्पा' (meaning ‘busted’), A tool to combat digital scams.**
|
16 |
-
|
17 |
-
---
|
18 |
-
|
19 |
-
## Overview
|
20 |
-
DAPA enables users to report financial scams and frauds efficiently via a user-friendly platform. The system facilitates the following:
|
21 |
-
|
22 |
-
1. **Report a Scam**: Users can provide details such as the scammer’s phone number and a brief description of the fraud. DAPA categorizes the scam and records the report.
|
23 |
-
2. **Search a Phone Number**: Users can check whether a specific number has been previously flagged for fraudulent activities.
|
24 |
-
|
25 |
-
With its streamlined architecture powered by AI, DAPA aims to mitigate the growing epidemic of financial scams by creating a comprehensive record of scam incidents.
|
26 |
-
|
27 |
-
---
|
28 |
-
|
29 |
-
## Why DAPA Matters
|
30 |
-
### The Growing Threat of Financial Scams:
|
31 |
-
- **India**:
|
32 |
-
- According to reports, the annual financial loss due to digital scams and frauds in India amounts to **₹60,000 crore**.
|
33 |
-
- A surge in digital adoption has inadvertently made India a hotspot for cybercriminal activities, including the **Digital Arrest Scam** where scammers impersonate law enforcement officials to defraud victims of significant amounts.
|
34 |
-
|
35 |
-
- **Global**:
|
36 |
-
- Financial scams cost individuals and businesses **over $5 trillion annually worldwide**.
|
37 |
-
- An increasing number of scams now exploit vulnerabilities in mobile and social media platforms.
|
38 |
-
|
39 |
-
### Spotlight on the Digital Arrest Scam:
|
40 |
-
The Digital Arrest Scam, a notable threat in India, sees fraudsters pretending to be law enforcement officials to extort money by intimidation. Victims are coerced into paying under the pretense of avoiding legal trouble. (Sources: **The Hindu**)
|
41 |
-
|
42 |
-
Prime Minister Modi have highlighted the urgent need to address these issues through education and vigilance.
|
43 |
-
|
44 |
-
---
|
45 |
-
|
46 |
-
## Why an AI Chatbot Instead of Traditional Form-Based Tools?
|
47 |
-
DAPA leverages an AI chatbot over traditional form-based tools for the following reasons:
|
48 |
-
|
49 |
-
1. **Localized Language Support**:
|
50 |
-
- Users can narrate their experiences in their own local language, including dialects, through platforms like WhatsApp. The AI chatbot interprets, summarizes, and processes this information seamlessly.
|
51 |
-
|
52 |
-
2. **Ease of Use**:
|
53 |
-
- Unlike rigid forms, a conversational AI provides a more intuitive, human-like interface, enabling users to express their ordeal naturally without worrying about form structure or specific formats.
|
54 |
-
|
55 |
-
3. **Advanced Understanding**:
|
56 |
-
- The AI model not only captures and categorizes scam details but also creates concise summaries, ensuring that valuable information is accurately stored in a centralized database for combating scams.
|
57 |
-
|
58 |
-
4. **Centralized Scam Pattern Analysis**:
|
59 |
-
- The summaries generated by the chatbot help uncover common scam patterns. By analyzing these trends, DAPA contributes to developing preventive measures and combating scams more effectively at scale.
|
60 |
-
|
61 |
-
5. **Accessibility**:
|
62 |
-
- By integrating with popular platforms like WhatsApp, the AI chatbot increases accessibility, making it easier for users in remote or underserved areas to report scams.
|
63 |
-
|
64 |
-
6. **Insights**:
|
65 |
-
- With AI, identifying patterns and emerging threats faster than traditional tools, thereby enhancing preventative measures.
|
66 |
-
|
67 |
-
---
|
68 |
-
|
69 |
-
## Features
|
70 |
-
### Core Features:
|
71 |
-
- **Fraud Reporting**:
|
72 |
-
- Easy submission of scammer details.
|
73 |
-
- Categorization of the scam using AI-based inference.
|
74 |
-
- Centralized record maintenance for tracking scam patterns.
|
75 |
-
|
76 |
-
- **Fraud Search**:
|
77 |
-
- Quick lookup of phone numbers to check for prior scam reports.
|
78 |
-
|
79 |
-
### Technology Stack:
|
80 |
-
- **Backend**: Python, FastAPI, LangGraph
|
81 |
-
- **Frontend**: Streamlit
|
82 |
-
- **Database**: PostgreSQL
|
83 |
-
- **AI Model**: GROQ LLaMA 3 (Configurable)
|
84 |
-
|
85 |
-
---
|
86 |
-
|
87 |
-
## Setup Instructions
|
88 |
-
### Environment Configuration
|
89 |
-
Create the environment file:
|
90 |
-
```bash
|
91 |
-
cp example.env .env
|
92 |
-
```
|
93 |
-
- Add Groq token
|
94 |
-
|
95 |
-
### Build and Run the Application
|
96 |
-
Build the application container using Docker:
|
97 |
-
```bash
|
98 |
-
docker compose up --build -d
|
99 |
-
```
|
100 |
-
|
101 |
-
### Access the App:
|
102 |
-
- Chatbot: [http://localhost:8088/](http://localhost:8088/)
|
103 |
-
- API Documentation: [http://localhost:8080/docs](http://localhost:8080/docs)
|
104 |
-
|
105 |
-
---
|
106 |
-
|
107 |
-
## Architecture Diagram
|
108 |
-

|
109 |
-
|
110 |
-
---
|
111 |
-
|
112 |
-
## Future Roadmap
|
113 |
-
- **WhatsApp Integration**: Users will be able to report and identify scams via WhatsApp for enhanced convenience. This will be achieved through a webhook system.
|
114 |
-
- **Enhanced AI Capabilities**: Continuous improvement of the scam categorization model to ensure accuracy and adaptability to emerging scam types.
|
115 |
-
---
|
116 |
-
|
117 |
-
## Contact
|
118 |
-
For improvements or collaboration, feel free to connect:
|
119 |
-
[Raushan's LinkedIn Profile](https://www.linkedin.com/in/raushan-in/)
|
120 |
-
|
121 |
-
Together, let’s combat financial fraud and make the digital world safer for everyone.
|
122 |
-
|
123 |
-
**DAPA – Digital Arrest Protection App**
|
|
|
9 |
thumbnail: >-
|
10 |
https://cdn-uploads.huggingface.co/production/uploads/6766a33b4719dd8d49da679a/bU5E-r-i7srSaeT19R4Qg.png
|
11 |
short_description: DAPA enables users to report financial scams.
|
12 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|