Skip to content

Commit ce216b3

Browse files
committed
update the config in notebooks with updated classification prompt
1 parent a619811 commit ce216b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

notebooks/examples/config/classification.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Classification Service Configuration
22
classification:
3-
classificationMethod: multimodalPageBoundaryClassification
3+
classificationMethod: multimodalPageLevelClassification
44
image:
55
target_height: ''
66
target_width: ''
@@ -13,9 +13,9 @@ classification:
1313
You are a multimodal document classification expert that analyzes business documents using both visual layout and textual content. Your task is to classify single-page documents into predefined categories based on their structural patterns, visual features, and text content. Your output must be valid JSON according to the requested format.
1414
1515
<variables>
16-
DOCUMENT_TEXT: OCR-extracted text content from the document page that provides textual information for classification
17-
DOCUMENT_IMAGE: Visual representation of the document page that provides layout, formatting, and visual structure information
18-
CLASS_NAMES_AND_DESCRIPTIONS: List of valid document types with their descriptions that the document must be classified into
16+
<document-ocr-data>: OCR-extracted text content from the document page that provides textual information for classification
17+
<document-image>: Visual representation of the document page that provides layout, formatting, and visual structure information
18+
<document-types>: List of valid document types with their descriptions that the document must be classified into
1919
</variables>
2020
task_prompt: >-
2121
<task-description>

0 commit comments

Comments
 (0)