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.
OpenAPI 3.1 — Swagger UI public sur /docs
| Header | Valeur | Statut |
|---|---|---|
| X-Content-Type-Options | nosniff | OK |
| X-Frame-Options | DENY | OK |
| Content-Security-Policy | default-src 'self'… | OK |
| Cache-Control | no-store | OK |
| Referrer-Policy | no-referrer | OK |
| Paramètre | Valeur |
|---|---|
| Extraction passes | 2 |
| Max workers | 8 |
| Max char buffer | 1 200 |
| include_text | false |
| Taille max upload | 20 MB |
Entités ciblées : person, org, invoice, date, amount, email, iban, address, phone, ref
| Métrique | Valeur | Statut |
|---|---|---|
| Health check | < 1s | OK |
| Temps extraction | 30-75s | Variable |
| Taille réponse HTML | ~3 KB (widget) | Verbeux |
| JSONL format | String échappée | Non brut |
include_text non configurable par requête| Élément | Détail |
|---|---|
| Serveur | uvicorn (ASGI) |
| Framework | FastAPI |
| Domaine | langextract.ailab.infocepo.com |
| Protocole | HTTPS (TLS) |
| Format réponse | application/json |
| Schéma réponse | ExtractionResponse (document, jsonl, html, warnings, skipped_pages, omitted_entities, text) |
| Détection erreur | 422 + message clair ("Aucun texte trouvé" / "Fichier non PDF") |
| Documentation | Swagger UI sur /docs, OpenAPI sur /openapi.json |