annotate_pdf#

metabeeai.llm_review_software.annotate_pdf(pdf_path, merged_json_path, output_pdf, answers_json_path=None)[source]#

Annotate PDFs with bounding boxes. First, annotate all “question-answer” chunks (red boxes). Then, if an answers.json file is provided, gather field names for each chunk_id and annotate with blue boxes and a combined text label.