Skip to content

Commit 11259bc

Browse files
author
Bob Strahan
committed
clarify use of {DOCUMENT_IMAGE} for multi-modal classification
1 parent ab68131 commit 11259bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/pattern-2/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Resources:
277277
order: 7
278278
task_prompt:
279279
type: string
280-
description: Task prompt - include placeholders {CLASS_NAMES_AND_DESCRIPTIONS} (replaced with the class names and descriptions for all specified classes), {FEW_SHOT_EXAMPLES} (replaced by classPrompt and image data from examples in class definitions), {DOCUMENT_TEXT} (replaced by the OCR output), {DOCUMENT_IMAGE} (replaced by the page image attachment). Optionally use <<CACHEPOINT>> to separate static and dynamic elements of prompt for Bedrock prompt caching.
280+
description: Task prompt - include placeholders {CLASS_NAMES_AND_DESCRIPTIONS} (replaced with the class names and descriptions for all specified classes), {FEW_SHOT_EXAMPLES} (replaced by classPrompt and image data from examples in class definitions), {DOCUMENT_TEXT} (replaced by the OCR output), and for multi-modal classification {DOCUMENT_IMAGE} (replaced by the page image attachment). Optionally use <<CACHEPOINT>> to separate static and dynamic elements of prompt for Bedrock prompt caching.
281281
order: 8
282282
extraction:
283283
order: 4

0 commit comments

Comments
 (0)