Metadata-Version: 2.4
Name: khater
Version: 0.1.0
Summary: RAG based hate speech detector
Author: YourName
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: langchain-openai
Requires-Dist: langchain-community
Requires-Dist: faiss-cpu
Requires-Dist: python-dotenv
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 🛡️ Smart Hate Detector (RAG-based)

**Smart Hate Detector**는 LLM(GPT-4o)과 RAG(Retrieval-Augmented Generation) 기술을 결합하여, 단순 키워드 필터링으로는 잡기 힘든 **지능적 우회 욕설 및 모욕적 표현**을 탐지하는 파이썬 라이브러리입니다.

## ✨ 주요 기능
- **지능적 우회어 탐지**: `씨12발`, `씨329...발` 처럼 숫자나 기호를 섞은 변형 욕설을 문맥적으로 파악합니다.
- **비꼬는 문장 분석**: 정중한 말투 속에 숨겨진 모욕(`씨12발스러운 분위기네요` 등)을 잡아냅니다.
- **실시간 제외 단어 설정**: 분석 시 특정 단어(예: 비트코인, 리플 등)를 제외 리스트에 넣어 오탐을 방지할 수 있습니다.
- **RAG 기반 근거 제시**: 단순히 유무를 판단하는 게 아니라, 어떤 지식을 바탕으로 판단했는지 근거를 제공합니다.

## 🚀 설치 방법

현재는 로컬에서 개발 중이며, PyPI 등록 후에는 아래 명령어로 설치 가능합니다.
```bash
pip install smart-hate-detector
