phase 17: fix parser URL lookup from DB and extractor text field name mismatch

This commit is contained in:
Celes Renata
2026-04-12 02:54:23 -07:00
parent 67cdb0b8c8
commit 0ac4493bd4
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ async def main() -> None:
job = json.loads(payload)
document_id = job.get("document_id", "")
ticker = job.get("ticker", "")
text = job.get("text", "")
text = job.get("text", "") or job.get("normalized_text", "")
logger.info("Processing extraction job for doc %s / %s", document_id, ticker)