Skip to content

Commit ca897ed

Browse files
author
Bob Strahan
committed
docs: move OCR initialization refactoring from Added to Changed section in CHANGELOG
1 parent fff7fef commit ca897ed

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,18 @@ SPDX-License-Identifier: MIT-0
1414
- Fixed view toggle behavior - switching between views no longer closes the viewer window
1515
- Reordered view buttons to: Markdown View, Text Confidence View, Text View for better user experience
1616

17-
- **Simplified OCR Service Initialization**
18-
- OCR service now accepts a single `config` dictionary parameter for cleaner, more consistent API
19-
- Aligned with classification service pattern for better consistency across IDP services
20-
- Automatic extraction of all OCR settings from configuration dictionary
21-
- Backward compatibility maintained - old parameter pattern still supported with deprecation warning
22-
- Updated all lambda functions and notebooks to use new simplified pattern
23-
- Comprehensive migration guide added to OCR README
24-
2517
### Changed
2618
- **Converted text confidence data format from JSON to markdown table for improved readability and reduced token usage**
2719
- Removed unnecessary "page_count" field
2820
- Changed "text_blocks" array to "text" field containing a markdown table with Text and Confidence columns
2921
- Reduces prompt size for assessment service while improving UI readability
3022
- OCR confidence values now rounded to 1 decimal point (e.g., 99.1, 87.3) for cleaner display
3123
- Markdown table headers now explicitly left-aligned using `|:-----|:-----------|` format for consistent appearance
32-
24+
- **Simplified OCR Service Initialization**
25+
- OCR service now accepts a single `config` dictionary parameter for cleaner, more consistent API
26+
- Aligned with classification service pattern for better consistency across IDP services
27+
- Backward compatibility maintained - old parameter pattern still supported with deprecation warning
28+
- Updated all lambda functions and notebooks to use new simplified pattern
3329

3430
### Fixed
3531
- Fixed issue where PNG files were being unnecessarily converted to JPEG format and resized to lower resolution with lost quality

0 commit comments

Comments
 (0)