Skip to content

Commit 996677a

Browse files
author
Bob Strahan
committed
Update assessment model and document sample references
1 parent 8274a02 commit 996677a

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ After deployment, you can quickly process a document and view results:
7373
- **Via S3**: Upload directly to the S3 input bucket (find the bucket URL in CloudFormation stack Outputs)
7474

7575
2. **Use Sample Documents**:
76-
- For Pattern 1 (BDA): Use [samples/lending_package.pdf](./samples/lending_package.pdf)
77-
- For Patterns 2 and 3: Use [samples/rvl_cdip_package.pdf](./samples/rvl_cdip_package.pdf)
76+
- For Patterns 1 (BDA) and Pattern 2: Use [samples/lending_package.pdf](./samples/lending_package.pdf)
77+
- For Pattern 3 (UDOP): Use [samples/rvl_cdip_package.pdf](./samples/rvl_cdip_package.pdf)
7878

7979
3. **Monitor Processing**:
8080
- **Via Web UI**: Track document status on the dashboard
@@ -105,8 +105,8 @@ To update an existing GenAIIDP stack to a new version:
105105
7. For detailed instructions, see the [Deployment Guide](./docs/deployment.md#updating-an-existing-stack)
106106

107107
For testing, use these sample files:
108-
- Pattern-1 BDA default project: `samples/lending_package.pdf`
109-
- Patterns 2 and 3 default configurations: `samples/rvl_cdip_package.pdf`
108+
- For Patterns 1 (BDA) and Pattern 2: Use [samples/lending_package.pdf](./samples/lending_package.pdf)
109+
- For Pattern 3 (UDOP): Use [samples/rvl_cdip_package.pdf](./samples/rvl_cdip_package.pdf)
110110

111111
For detailed deployment and testing instructions, see the [Deployment Guide](./docs/deployment.md).
112112

config_library/pattern-2/bank-statement-sample/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ assessment:
381381
max_tokens: '10000'
382382
top_k: '5'
383383
temperature: '0.0'
384-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
384+
model: us.amazon.nova-pro-v1:0
385385
system_prompt: >-
386386
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
387387
task_prompt: >-

config_library/pattern-2/rvl-cdip-package-sample-with-few-shot-examples/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ assessment:
899899
max_tokens: '10000'
900900
top_k: '5'
901901
temperature: '0.0'
902-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
902+
model: us.amazon.nova-pro-v1:0
903903
system_prompt: >-
904904
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
905905
task_prompt: >-

config_library/pattern-2/rvl-cdip-package-sample/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ assessment:
621621
max_tokens: '10000'
622622
top_k: '5'
623623
temperature: '0.0'
624-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
624+
model: us.amazon.nova-pro-v1:0
625625
system_prompt: >-
626626
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
627627
task_prompt: >-

config_library/pattern-3/rvl-cdip-package-sample/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ assessment:
481481
max_tokens: '10000'
482482
top_k: '5'
483483
temperature: '0.0'
484-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
484+
model: us.amazon.nova-pro-v1:0
485485
system_prompt: >-
486486
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
487487
task_prompt: >-

docs/assessment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ The assessment service supports configurable image dimensions for optimal confid
542542
543543
```yaml
544544
assessment:
545-
model: "anthropic.claude-3-5-sonnet-20241022-v2:0"
545+
model: "us.amazon.nova-pro-v1:0"
546546
# Image processing settings - preserves original resolution
547547
image:
548548
target_width: "" # Empty string = no resizing (recommended)

docs/deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ To update an existing GenAIIDP deployment to a new version:
126126
1. Open the `S3InputBucketConsoleURL` and `S3OutputBucketConsoleURL` from the stack Outputs tab
127127
2. Open the `StateMachineConsoleURL` from the stack Outputs tab
128128
3. Upload a PDF form to the Input bucket (sample files are in the `./samples` folder):
129-
- For Pattern-1 BDA default project: use [samples/lending_package.pdf](../samples/lending_package.pdf)
130-
- For Patterns 2 and 3 default configurations: use [samples/rvl_cdip_package.pdf](../samples/rvl_cdip_package.pdf)
129+
- For Patterns 1 (BDA) and Pattern 2: Use [samples/lending_package.pdf](../samples/lending_package.pdf)
130+
- For Pattern 3 (UDOP): Use [samples/rvl_cdip_package.pdf](../samples/rvl_cdip_package.pdf)
131131
4. Monitor the Step Functions execution to observe the workflow
132132
5. When complete, check the Output bucket for the structured JSON file with extracted fields
133133

lib/idp_common_pkg/idp_common/assessment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The assessment service uses configuration-driven prompts and model parameters:
6363

6464
```yaml
6565
assessment:
66-
model: "anthropic.claude-3-5-sonnet-20241022-v2:0"
66+
model: "us.amazon.nova-pro-v1:0"
6767
temperature: 0
6868
top_k: 5
6969
top_p: 0.1

notebooks/examples/config/assessment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ assessment:
66
max_tokens: '10000'
77
top_k: '5'
88
temperature: '0.0'
9-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
9+
model: us.amazon.nova-pro-v1:0
1010
system_prompt: >-
1111
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
1212

notebooks/examples/config/assessment_granular.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assessment:
88
max_tokens: '10000'
99
top_k: '5'
1010
temperature: '0.0'
11-
model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
11+
model: us.amazon.nova-pro-v1:0
1212
system_prompt: >-
1313
You are a document analysis assessment expert. Your task is to evaluate the confidence of extraction results by analyzing the source document evidence. Respond only with JSON containing confidence scores for each extracted attribute.
1414

0 commit comments

Comments
 (0)