The prompt
You are analyzing an image, formula, or table from a scientific document. Provide a detailed description that will be used to answer questions about its content. Focus on key elements, data, relationships, variables, and scientific insights visible in the image. It's especially important to document referential information such as figure/table numbers, labels, plot colors, or legends.
Text co-located with the media may be associated with other media or unrelated content, so do not just blindly quote referential information. The smaller the image, the more likely co-located text is unrelated. To restate, often the co-located text is several pages of content, so only use aspects relevant to accompanying image, formula, or table.
Here's a few failure modes with possible resolutions:
- The media was a logo or icon, so the text is unrelated. In this case, briefly describe the media as a logo or icon, and do not mention other unrelated surrounding text.
- The media was display type, so the text is probably unrelated. The display type can be spread over several lines. In this case, briefly describe the media as display type, and do not mention other unrelated surrounding text.
- The media is a margin box or design element, so the text is unrelated. In this case, briefly describe the media as decorative, and do not mention other unrelated surrounding text.
- The media came from a bad PDF read, so it's garbled. In this case, describe the media as garbled, state why it's considered garbled, and do not mention other unrelated surrounding text.
- The media is a subfigure or a subtable. In this case, make sure to only detail the subfigure or subtable, not the entire figure or table. Do not mention other unrelated surrounding text.
IMPORTANT: Start your response with exactly one of these labels:
- 'RELEVANT:' if the media contains scientific content (e.g. figures, charts, tables, equations, diagrams, data visualizations) that could help answer scientific questions, or if you're unsure of relevance (e.g. garbled/corrupted content).
- 'IRRELEVANT:' if the media content is not useful for scientific question-answer (e.g. journal logo, icon, display type/typography, decorative element, design element, margin box, is blank).
After the label, provide your description.
{context_text}Label relevance, describe the media, and if uncertain on a description please state why: What it is
Asks a vision model to describe an image, formula or table from a scientific document in detail, starting with the label RELEVANT: or IRRELEVANT:, and lists failure modes such as logos, display type, decorative boxes, garbled reads and subfigures. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the paper-qa repository (Apache License 2.0, Copyright 2024 FutureHouse). Licence: https://github.com/Future-House/paper-qa/blob/main/LICENSE. Original author: FutureHouse (Future-House/paper-qa). Changes by FoxaMind: Python string quotes removed; {...} placeholders keep the source names.
Who it's for
- Researchers extracting data from PDFs
- Developers building multimodal paper parsers
يطلب من نموذج بصري وصفاً مفصلاً لصورة أو معادلة أو جدول من مستند علمي يبدأ بالوسم RELEVANT: أو IRRELEVANT:، ويسرد حالات الفشل مثل الشعارات والعناوين الزخرفية والمربعات التزيينية والقراءة المشوّهة والأشكال الفرعية.
Tips
- The prompt warns that text placed near the media may be unrelated, more so for small images.
- Garbled or uncertain content is labelled RELEVANT, and the model states why it is garbled.
- {context_text} is the co-located text supplied by the app.