VG
All work

Ingestion and deletion

Creator content in from many platforms; a hard delete that reaches every store.

Sources
X · Reddit · YouTube · LinkedIn · uploads
Stores a delete reaches
Postgres + pgvector · R2 · Redis

Uploads cover PDF, DOCX, XLSX and PPTX, extracted by Kreuzberg with its built-in OCR.

Problem

Saroya AI, built at TinyCheque, lets creators import their content so their AI avatar can answer questions about it. Content arrives from X, Reddit, YouTube, LinkedIn and file uploads (PDF, DOCX, XLSX, PPTX). Every piece of creator content needed a hard-delete path across every data store.

What I did

The ingestion pipeline normalises each source into one document format. File uploads go through Kreuzberg, a document-extraction library that runs its own OCR (optical character recognition). Every document is tracked through its lifecycle: ingestion, embedding, indexing and deletion.

A delete event removes everything across three stores: Postgres rows and their pgvector embeddings (pgvector is a Postgres extension), objects on Cloudflare R2 and the Redis cache.

Before a creator’s content goes live, a mock KYC flow I built checks their ID. It is a prototype, not a certified provider. The creator uploads a PAN card, Aadhaar card or driving licence (front only for PAN and driving licence; front and back for Aadhaar). Kreuzberg’s OCR extracts the name and ID number. An ID number that has already been used is blocked as already uploaded, and the name on the ID must match the name used at sign-up: pass or fail.

Architecture

Diagram scrolls sideways
SourcesXRedditYouTubeLinkedInUploads+ OCRNormalisePostgres + pgvectorR2RedisReaches all threeHard deleteMock KYCgates go-live

Limitations

The deletion audit is manual today. KYC is a mock, not a certified provider. OCR quality varies with document format and image resolution. Source code is confidential.

Contact

Now, October 2026: looking for applied-AI and backend roles in India, the UK or Germany. Available immediately.