Produits IA full-stack
Voice Invoice AI
Application de facturation qui transforme une commande dictée à l'oral en facture structurée. Le backend transcrit l'audio (API OpenAI), en extrait les articles via un LLM, les rapproche du catalogue produit via un moteur de correspondance hybride, puis génère une facture avec export PDF.
Points forts
- Moteur de correspondance produit en cascade : correspondance exacte → alias → floue (RapidFuzz) → similarité sémantique par embeddings (pgvector, text-embedding-3-small), avec index HNSW pour la recherche vectorielle en base
- Authentification complète en production : JWT, vérification d'email, réinitialisation de mot de passe, révocation de sessions (token_version), verrouillage de compte après échecs répétés, rate limiting par IP stocké en base (pas en mémoire)
- Schéma de base versionné avec Alembic (migrations automatiques au démarrage, verrou pg_advisory_lock pour éviter les migrations concurrentes)
- Déploiement Docker séparé dev/prod (Gunicorn + 4 workers Uvicorn en prod, build multi-étapes du frontend)
- 48 tests pytest, CI GitHub Actions sur chaque push/PR (tests backend + typecheck/build frontend)
- Export PDF via WeasyPrint
Stack technique
FastAPISQLAlchemyAlembicPostgreSQLpgvectorNext.jsTypeScriptTailwind CSSOpenAI APIDockerGitHub Actions