Skip to content

Commit 2183393

Browse files
committed
fix(analytics): Inject current UTC date/time into analytics agent prompt for relative-time queries
1 parent 464ad50 commit 2183393

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ SPDX-License-Identifier: MIT-0
1414

1515
### Fixed
1616

17-
- **Fixed** agentic extraction crash (`TypeError: unsupported format string passed to NoneType.__format__`) when table parsing stats contain `None` values for `avg_confidence` or `parse_success_rate`.
18-
- **Fixed** agentic extraction `map_table_to_schema` producing phantom empty rows from non-matching tables (e.g. account_summary rows prepended to transaction_details), causing list item ordering to be shifted by several positions.
1917
- **Error Analyzer model selection** — The agent was using the Chat Companion's model instead of its own configured model.
2018
- **Error Analyzer log processing** — Fixed early termination that stopped searching after the first Lambda function with errors; now searches all relevant log groups.
2119
- **Error Analyzer log truncation** — Fixed handling of long log messages to trim them rather than skip them entirely.
2220
- **Reprocess from Document Details** — Fixed config version not being passed when reprocessing a document from the Document Details page (showed "N/A" instead of the selected version).
21+
- **Analytics Agent date awareness** — Injected current UTC date/time into the analytics agent system prompt so the LLM can correctly handle relative-time queries (e.g., "show me today's documents", "what was processed this week").
2322

2423
## Templates
2524
- us-west-2: `https://s3.us-west-2.amazonaws.com/aws-ml-blog-us-west-2/artifacts/genai-idp/idp-main_0.5.6.yaml`

0 commit comments

Comments
 (0)