Document ingestion for QA
PDF and website parsing, cached API workflows, and a view of vector similarity.
Python Developer / IT Specialist
- Flask
- Caching
- Python
Overview
At Bajol Integrated Services I built Flask services for AI automation and conversational interfaces, ingested PDFs and websites for internal QA tools, cached API workflows, and worked with frontend to show vector similarity and structured model results.
The problem
Internal QA could not ask questions of documents that still lived as PDFs and web pages, and uncached API calls made the processing pipelines slower than the work required.
The solution
Flask services took in PDFs and parsed websites into the QA tools. API workflows for the data pipelines used caching so repeated work did not recompute the same response. Frontend views showed vector similarity and structured LLM output instead of a raw text dump.
Key features
PDF and website ingestion
Internal QA tools received documents that had been parsed, not left as files.
Cached API workflows
Repeated processing reused a cached response instead of recomputing it.
Similarity on screen
Frontend views, built with that team, showed vector similarity and structured model results.
Architecture
PDFs and websites are ingested by Flask services. Caching sits on the API workflows, and the UI shows similarity and structured results.
- PDFs
- Websites
- Ingestion
- Flask services
- Response cache
- Similarity view
Tech stack used
- Flask
- Caching
- Python
Challenges and how I solved them
Challenge
Source material was not in a form a QA tool could search.
What I did
Ingestion parsed PDFs and websites into the internal tools.
Challenge
The same processing requests were paying their full cost every time.
What I did
Caching on the API workflows reused responses instead of recomputing them.
Challenge
Vector scores and model output were hard to read as raw payloads.
What I did
The frontend visualized similarity and structured results, built with that team.
Results
- Sources
- PDFs and websites
- Service
- Flask
- Speed
- Cached API workflows
- Review
- Similarity visualized
What I learned
Ingestion is the unglamorous half of retrieval. A vector index is only as useful as the PDFs and pages that were actually parsed into it, and a cache is what keeps that pipeline tolerable to run.
