- 
                Notifications
    You must be signed in to change notification settings 
- Fork 778
'Full page screenshot' enrichment prompt template #1162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nt_prompt_template, to be clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the media enrichment prompt templates to distinguish between individual media items (images/tables) and full-page screenshots. The changes rename the existing prompt template and add a new one for future full-page screenshot support.
- Renames media_enrichment_prompt_templatetoindividual_media_enrichment_prompt_templatefor clarity
- Adds new full_page_enrichment_prompt_templatefor full-page screenshot enrichment
- Updates import and usage in settings to reflect the renamed template
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description | 
|---|---|
| src/paperqa/prompts.py | Renames media enrichment prompt to individual_media_enrichment_prompt_templateand adds newfull_page_enrichment_prompt_template | 
| src/paperqa/settings.py | Updates import and default value to use renamed individual_media_enrichment_prompt_template | 
Comments suppressed due to low confidence (1)
src/paperqa/prompts.py:1
- The newly added full_page_enrichment_prompt_templateis not imported or used anywhere in the codebase yet. Consider adding a docstring or comment explaining that this template is for future use with full-page screenshot parsing, or complete the implementation by importing and using it in the appropriate places.
from datetime import datetime
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment. Approving it
This PR adds a prompt template for full-page screenshots