% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocessing.R
\name{process_pdf_unified}
\alias{process_pdf_unified}
\title{Process PDF File (Unified Entry Point)}
\usage{
process_pdf_unified(
  file_path,
  use_multimodal = FALSE,
  vision_provider = "gemini",
  vision_model = NULL,
  api_key = NULL,
  describe_images = TRUE
)
}
\arguments{
\item{file_path}{Character string path to PDF file}

\item{use_multimodal}{Logical, enable multimodal extraction}

\item{vision_provider}{Character, "openai" or "gemini"}

\item{vision_model}{Character, model name}

\item{api_key}{Character, API key (if using openai/gemini)}

\item{describe_images}{Logical, generate image descriptions}
}
\value{
List: success, data, type, method, message
}
\description{
Unified PDF processing:
\enumerate{
\item Multimodal (R-native pdftools + Vision LLM) if enabled
\item R pdftools text extraction as fallback
}
}
\seealso{
\code{\link[=import_files]{import_files()}} for the generic file-loading entry point; \code{\link[=describe_image]{describe_image()}} for standalone image captioning
}
\concept{preprocessing}
