phase 17: increase parser→extractor text limit from 8k to 32k chars

This commit is contained in:
Celes Renata
2026-04-12 08:37:29 -07:00
parent ffcc66ae0b
commit cd32c3e3fe
+1 -1
View File
@@ -169,7 +169,7 @@ async def process_job(
await rds.rpush(queue_key(QUEUE_EXTRACTION), json.dumps(inject_trace_context({ await rds.rpush(queue_key(QUEUE_EXTRACTION), json.dumps(inject_trace_context({
"document_id": doc_id, "document_id": doc_id,
"ticker": ticker, "ticker": ticker,
"normalized_text": text[:8000], "normalized_text": text[:32000],
}))) })))
PARSE_JOBS_TOTAL.labels(status="parsed").inc() PARSE_JOBS_TOTAL.labels(status="parsed").inc()
PARSE_QUALITY_SCORE.observe(parsed.quality_score) PARSE_QUALITY_SCORE.observe(parsed.quality_score)