Skip to content

Instantly share code, notes, and snippets.

@markpbaggett
Created July 31, 2025 14:51
Show Gist options
  • Save markpbaggett/4f25ea410d22c88018c2f7bd5737f680 to your computer and use it in GitHub Desktop.
Save markpbaggett/4f25ea410d22c88018c2f7bd5737f680 to your computer and use it in GitHub Desktop.
AMC Early Presidents AI Metadata Prompt Return Value
{
"dublin_core": {
"title": {
"value": "suggested title",
"confidence": "high|medium|low",
"reasoning": "explanation of how determined",
"source_text": "relevant excerpt from letter"
},
"creator": {
"value": "author name",
"confidence": "high|medium|low",
"reasoning": "explanation",
"source_text": "signature or attribution text"
},
"subject": {
"value": ["exact LCSH heading 1", "exact LCSH heading 2"],
"authority": "lcsh",
"confidence": "high|medium|low",
"reasoning": "explanation of why these LCSH terms were selected, note any uncertainty about exact authorized format",
"source_text": "relevant content excerpts",
"alternative_headings": ["other possible LCSH terms considered"],
"authorization_uncertain": ["headings where exact LCSH format is uncertain"]
},
"description": {
"value": "brief abstract",
"confidence": "high|medium|low",
"reasoning": "explanation",
"source_text": "key passages summarized"
},
"date": {
"value": "YYYY-MM-DD or available format",
"confidence": "high|medium|low",
"reasoning": "explanation",
"source_text": "date reference in letter"
},
"type": {
"value": "Text",
"qualifier": "Correspondence",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"language": {
"value": "ISO 639 code (e.g., 'en', 'fr')",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"coverage": {
"spatial": ["geographic locations mentioned"],
"temporal": "time period discussed",
"confidence": "high|medium|low",
"reasoning": "explanation",
"source_text": "relevant location/time references"
},
"contributor": {
"value": ["recipient", "other significant persons"],
"confidence": "high|medium|low",
"reasoning": "explanation",
"source_text": "addressee or mentioned persons"
}
},
"additional_elements": {
"publisher": {
"value": "archive/repository if mentioned",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"identifier": {
"value": "any catalog numbers or IDs found",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"source": {
"value": "collection or provenance info",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"relation": {
"value": "related documents/series mentioned",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"rights": {
"value": "copyright or access info if determinable",
"confidence": "high|medium|low",
"reasoning": "explanation"
},
"format": {
"value": "physical/digital format if mentioned",
"confidence": "high|medium|low",
"reasoning": "explanation"
}
},
"flags": {
"ambiguous_dates": ["any uncertain date references"],
"uncertain_attributions": ["questionable creator/contributor assignments"],
"uncertain_lcsh_authorization": ["LCSH headings that may need verification against current authorized format"],
"requires_external_research": ["elements needing verification"],
"alternative_subjects": ["other possible LCSH headings considered"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment