PDF analysis using AI