LangExtract PDF — Tableau de Bord d'Évaluation

v0.2.0 En ligne Évalué le 2026-11-03
6.2/10

API d'extraction d'entités depuis PDF

Service FastAPI fonctionnel, sécurisé et bien structuré. Limité par l'absence d'OCR intégré et des temps de réponse variables (30-75s). Version 0.2.0 — prometteur mais encore immature pour un usage production intensif.

Note par dimension

Disponibilité
9.5/10
Sécurité
8.5/10
Design API
9.0/10
Performance
4.5/10
Fonctionnalité
5.0/10
Maturité
4.0/10

🔌 Endpoints

GET /healthz Publique
GET /api/v1/config Bearer token
POST /api/v1/extractions Bearer token

OpenAPI 3.1 — Swagger UI public sur /docs

🛡️ Headers de sécurité

HeaderValeurStatut
X-Content-Type-OptionsnosniffOK
X-Frame-OptionsDENYOK
Content-Security-Policydefault-src 'self'…OK
Cache-Controlno-storeOK
Referrer-Policyno-referrerOK

⚙️ Configuration par défaut

ParamètreValeur
Extraction passes2
Max workers8
Max char buffer1 200
include_textfalse
Taille max upload20 MB

Entités ciblées : person, org, invoice, date, amount, email, iban, address, phone, ref

⏱️ Performances

MétriqueValeurStatut
Health check< 1sOK
Temps extraction30-75sVariable
Taille réponse HTML~3 KB (widget)Verbeux
JSONL formatString échappéeNon brut

Points forts et limites

  • Architecture FastAPI / OpenAPI 3.1 propre
  • Headers de sécurité complets
  • Auth Bearer token fonctionnelle
  • Health check public
  • Prompt configurable par entité métier
  • Limite upload 20 MB
  • Sentry intégrée (monitoring)
  • Swagger UI accessible pour test
  • Aucun OCR intégré (PDF image-only rejetés)
  • Temps de réponse 30-75s (pas de file/async)
  • include_text non configurable par requête
  • JSONL renvoyé comme string échappée
  • Widget HTML output très verbeux (~3 KB CSS)
  • Swagger UI public mais API protégée (faille docs)
  • Version 0.2.0 — nombreuses améliorations attendues
  • Pas de page d'accueil / documentation externe

🔧 Détails techniques

ÉlémentDétail
Serveuruvicorn (ASGI)
FrameworkFastAPI
Domainelangextract.ailab.infocepo.com
ProtocoleHTTPS (TLS)
Format réponseapplication/json
Schéma réponseExtractionResponse (document, jsonl, html, warnings, skipped_pages, omitted_entities, text)
Détection erreur422 + message clair ("Aucun texte trouvé" / "Fichier non PDF")
DocumentationSwagger UI sur /docs, OpenAPI sur /openapi.json