Revolver AI Bot
Project description
🤖 Revolver AI Bot
Agent IA full-stack pour ingestion de briefs, veille stratégique, analyse automatique et génération de livrables professionnels (PDF, PPTX, API). Compatible Slack, CLI et FastAPI.
🚀 Installation rapide
1. Cloner le dépôt
git clone https://github.com/Namtar-afk/revolver-ai-bot.git
cd revolver-ai-bot
2. Environnement virtuel
python3 -m venv .venv
source .venv/bin/activate
3. Installer les dépendances
pip install -r requirements.txt
4. Clés API et config
cp config.example.py config.py
# Puis éditez `config.py` avec vos clés (OpenAI, Slack, Google, SerpAPI...)
🧠 Fonctionnalités principales
- ✨ Parsing intelligent de briefs PDF → JSON valide
- 📊 Analyse automatisée via LLM (insights, KPIs, hypothèses…)
- 📈 Agrégation et clustering de veille (RSS, Google, TikTok…)
- 🗞️ Génération de slides .pptx (Deck complet)
- 🧪 API REST (FastAPI) pour intégration facile
- 💬 Mode Slack bot interactif
🗂 Structure du projet
revolver-ai-bot/
├── bot/ ← Slack handler + veille + analyse
├── parser/ ← Extraction et NLP des briefs PDF
├── pptx_generator/ ← Génération de PowerPoint
├── prompts/ ← Templates markdown pour GPT
├── reco/ ← Recommandation stratégique (LLM + logique)
├── schema/ ← JSON Schema pour validation
├── api/ ← FastAPI server (REST endpoints)
├── tests/ ← Unitaires, intégration et snapshots
├── run_parser.py ← CLI : PDF → JSON/PPTX
├── run_monitor.py ← CLI : veille
└── README.md
🧪 Tests unitaires
export PYTHONPATH=$(pwd)
pytest -v
Couverture : extraction, parsing, génération, intégration, Slack.
🖥 Utilisation CLI
1. Parser un brief
python run_parser.py
2. Générer un rapport complet (.pptx)
python run_parser.py --report output.pptx
3. Lancer la veille
python run_monitor.py --out data/veille.csv
🌐 API (FastAPI)
Démarrer le serveur :
uvicorn api.main:app --reload --port 8001
→ Accès live : http://127.0.0.1:8001/docs
💬 Slack bot
Démarrer :
export SLACK_BOT_TOKEN="xoxb-..."
export SLACK_APP_TOKEN="xapp-..."
python bot/slack_handler.py
Commandes supportées :
!veille— récupère et affiche la veille!analyse— affiche les clusters de tendance!report— génère un rapport PPT depuis Slack
Mode debug :
python bot/slack_handler.py --simulate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file revolver_ai_bot-0.2.7.tar.gz.
File metadata
- Download URL: revolver_ai_bot-0.2.7.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033a1782181ef1cbb66e795848cada3d9ff01673c81317f3e9f41fbd587eff99
|
|
| MD5 |
341b5c461dba5ddba15359a638872df9
|
|
| BLAKE2b-256 |
bd4f86ab6d22aed9393573c0434c20c08ebb7adad3e7f7a3f6b270426277c1fa
|
File details
Details for the file revolver_ai_bot-0.2.7-py3-none-any.whl.
File metadata
- Download URL: revolver_ai_bot-0.2.7-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9fc3c8ff6ec573064b001fee17686807752e77ccc5cb8b0b1e9334376ba1d2c
|
|
| MD5 |
3266d4cbe90dc9963740cb0e00b3b024
|
|
| BLAKE2b-256 |
8e64ffef2a2bd240ae19aaeb80986b7243b92ff711c7ca818a57caef757715e5
|