### Alternative AI Approach (Optional Enhancement)
+
Instead of rule-based parsing, use GPT-4o-mini with structured JSON output. The flow would be: extract plain text -> send it to GPT-4o-mini with a schema-enforced prompt -> receive structured JSON (name, email, phone, skills, experience, education, total years).
+
+
**Pros:**
+
- Much higher accuracy across different resume formats and layouts
+
- Handles inconsistent structures, missing sections, and varied wording
+
- Reduces need for complex regex/heuristics
+
+
**Cons:**
+
- Incur API usage costs
+
- Slightly higher latency (~2–5 seconds per resume, depending on length)