mirror of
https://github.com/frankwxu/mobile-pii-discovery-agent.git
synced 2026-02-20 13:40:41 +00:00
21 lines
726 B
Markdown
21 lines
726 B
Markdown
# LLM-Guided SQL Evidence Extraction
|
||
|
||
This project implements a lightweight **LLM-assisted pipeline** for discovering and extracting evidentiary artifacts from SQLite databases commonly found in mobile device extractions.
|
||
|
||
The system separates **discovery** and **extraction** to reduce search space, avoid hallucinated SQL, and preserve explainability.
|
||
|
||
## Features
|
||
|
||
- LLM-guided SQL planning with deterministic execution
|
||
- Discovery to extraction workflow
|
||
- Fixed evidence types: `EMAIL`, `PHONE`, `USERNAME`, `PERSON_NAME`
|
||
- Safe SQLite execution with REGEXP support
|
||
- UNION / UNION ALL–aware column extraction
|
||
- Transparent, inspectable state machine
|
||
|
||
## Setup
|
||
|
||
```bash
|
||
pip install langchain langgraph python-dotenv
|
||
```
|