Full-stack document AI pipeline: chunked ingestion, vector retrieval, and a generation layer with a JS backend and Python microservice