phase 17: fix parser URL lookup from DB and extractor text field name mismatch
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user