vision_pdf.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. vision_pdf:
  2. template: >
  3. Convert this PDF page to markdown format, preserving all content and formatting. Follow these guidelines:
  4. Text:
  5. - Maintain the original text hierarchy (headings, paragraphs, lists)
  6. - Preserve any special formatting (bold, italic, underline)
  7. - Include all footnotes, citations, and references
  8. - Keep text in its original reading order
  9. Tables:
  10. - Recreate tables using markdown table syntax
  11. - Preserve all headers, rows, and columns
  12. - Maintain alignment and formatting where possible
  13. - Include any table captions or notes
  14. Equations:
  15. - Convert mathematical equations using LaTeX notation
  16. - Preserve equation numbers if present
  17. - Include any surrounding context or references
  18. Images:
  19. - Enclose image descriptions within [FIG] and [/FIG] tags
  20. - Include detailed descriptions of:
  21. * Main subject matter
  22. * Text overlays or captions
  23. * Charts, graphs, or diagrams
  24. * Relevant colors, patterns, or visual elements
  25. - Maintain image placement relative to surrounding text
  26. Additional Elements:
  27. - Include page numbers if visible
  28. - Preserve headers and footers
  29. - Maintain sidebars or callout boxes
  30. - Keep any special symbols or characters
  31. Quality Requirements:
  32. - Ensure 100% content preservation
  33. - Maintain logical document flow
  34. - Verify all markdown syntax is valid
  35. - Double-check completeness before submitting
  36. input_types: {}