Skip to content
All expertise

Expertise · Hassan Ali / Cognetheus

RAG development: AI assistants that answer from your documents and data

Hassan Ali builds retrieval-augmented generation (RAG) assistants for founders, CTOs and operations teams who need answers from their own documents and business data. One Coderzhunt platform unified ~20 GB of mixed-format files, CRM records and YouTube transcripts in a tenant-aware pipeline.

Python (FastAPI)TypeScriptNext.jsOpenAI (GPT, Embeddings)Google Vertex AI (Gemini Pro/Flash)AWS BedrockRAG & CAG PipelinesVector EmbeddingsHybrid RetrievalLLM-Assisted Schema GenerationBigQueryFirestoreQdrantMongoDBSearXNGCloud RunPub/SubRabbitMQDocker

When a team asks me to build a RAG chatbot over company documents, I start with the sources: what formats they come in, where they live and how often they change. On the Multi-Tenant AI Agents & RAG Platform I architected at Coderzhunt, that meant processing ~20 GB of PDF, DOCX, PPTX, XLSX, CSV and TXT files, with OCR applied to scanned documents so their text became searchable. Business data went into the same place: 400+ Cvent records, hundreds of records from Outseta, thousands from Webflow CRM and 60+ YouTube transcripts, all unified into one tenant-aware retrieval pipeline. ETL workflows on Cloud Run and Pub/Sub ingested and normalized data from multiple client portals.

An index is only useful while it stays current, so I added Webflow webhook listeners that continuously sync newsletters, blog posts and content updates into the RAG layer. Some questions need figures rather than a passage of text, so I designed hybrid retrieval that combines Firestore semantic search with BigQuery SQL execution, giving one assistant both document-grounded and analytical answers. CSV and Excel uploads went through LLM-assisted schema generation, which parsed each file, created metadata and provisioned BigQuery tables at load time. The platform ran on Google Cloud, built around BigQuery native vector search and Firestore semantic storage with embedded metadata.

I am not tied to one model provider: I have delivered RAG and CAG pipelines on OpenAI, Gemini through Vertex AI, and AWS Bedrock. On Orbion Connect, a healthcare expert marketplace, I engineered RAG-powered expert discovery and talent matching on semantic search and vector embeddings, with Python and FastAPI services integrating MongoDB and Qdrant, and RabbitMQ handling resume ingestion asynchronously. On NASR AI, a real estate intelligence platform consolidating Dubai's property market data, I am building a multi-tenant RAG architecture and integrating self-hosted SearXNG search with external data sources to enrich the AI-generated responses. The stack there includes Python, MongoDB, SearXNG and Docker.

This work suits founders, CTOs and operations leads who want an assistant that answers from their own files and systems, and B2B teams that need a multi-tenant RAG architecture serving many customers from one platform. I work remotely from Lahore, Pakistan, and I am open to new contracts, directly or through Upwork.

What I do

Mixed-format ingestion with OCR

Ingesting PDF, DOCX, PPTX, XLSX, CSV and TXT files into one retrieval pipeline, with OCR on scanned documents. On one platform that came to ~20 GB of unstructured content.

Many sources in one tenant-aware pipeline

Bringing records from Cvent, Outseta and Webflow CRM, plus YouTube transcripts, into the same tenant-aware retrieval pipeline as the documents, through ETL on Cloud Run and Pub/Sub.

Webhook-driven index freshness

Webflow webhook listeners that continuously sync newsletters, blogs and content updates into the RAG layer, so the index keeps up with new content.

Hybrid retrieval: semantic search plus SQL

Combining Firestore semantic search with BigQuery SQL execution, so one assistant can give both document-grounded and analytical answers.

Vector search and embeddings

Vector retrieval on BigQuery native vector search, Firestore semantic storage with embedded metadata, and Qdrant behind Python and FastAPI services.

RAG and CAG on OpenAI, Gemini and Bedrock

Delivering RAG and CAG pipelines across OpenAI, Gemini and AWS Bedrock, and adding self-hosted SearXNG search to enrich AI-generated responses (NASR AI, in progress).

Proof

  • —Processed ~20 GB of unstructured content across PDF, DOCX, PPTX, XLSX, CSV and TXT, with OCR applied to scanned documents for searchable retrieval. Multi-Tenant AI Agents & RAG Platform
  • —Unified 400+ Cvent records, hundreds from Outseta, thousands from Webflow CRM and 60+ YouTube transcripts into one tenant-aware retrieval pipeline; Webflow webhook listeners kept newsletters, blogs and content updates in sync. Multi-Tenant AI Agents & RAG Platform
  • —Designed hybrid retrieval combining Firestore semantic search with BigQuery SQL execution for analytical and document-grounded responses. Multi-Tenant AI Agents & RAG Platform
  • —Engineered RAG-powered expert discovery and talent matching on semantic search and vector embeddings, with Python and FastAPI services integrating MongoDB and Qdrant. Orbion Connect (Healthcare Expert Marketplace)
  • —Building a multi-tenant RAG architecture, with self-hosted SearXNG search and external data sources enriching AI-generated responses (in progress since Mar 2026). NASR AI (Real Estate Intelligence)
  • —Specialized in RAG/CAG architectures on OpenAI, Vertex AI and AWS Bedrock, implementing hybrid retrieval and vector search.

Related work

Questions

Who can build a RAG chatbot over scanned PDFs, Word, PowerPoint and Excel files?
Hassan Ali has done this at roughly 20 GB scale on the Multi-Tenant AI Agents & RAG Platform. The pipeline took in PDF, DOCX, PPTX, XLSX, CSV and TXT files, and scanned documents went through OCR so their text could be retrieved like any other file. Those documents were searchable alongside CRM records and YouTube transcripts in the same pipeline.
How do you combine SQL query results and semantic document search in one RAG answer?
On the Multi-Tenant AI Agents & RAG Platform, Hassan Ali paired Firestore semantic search over document content with BigQuery SQL execution for analytical questions, so one assistant could handle both.
Can Hassan Ali build a multi-tenant RAG platform that serves many clients from one pipeline?
Hassan Ali architected the Multi-Tenant AI Agents & RAG Platform at Coderzhunt around a single tenant-aware retrieval pipeline that holds documents, CRM records and YouTube transcripts together. Hassan Ali is now building a multi-tenant RAG architecture for NASR AI, a Dubai real estate intelligence platform (in progress since March 2026). Tenant onboarding is covered on the multi-tenant SaaS architecture page.
Which LLM providers has Hassan Ali used for RAG and CAG (cache-augmented generation)?
Hassan Ali has delivered RAG and CAG pipelines on OpenAI, Gemini through Vertex AI, and AWS Bedrock, and has worked with OpenAI's GPT models and embeddings. Because that work spans three providers, a new assistant does not have to start from a single vendor's stack.
Can self-hosted SearXNG search feed an LLM or RAG system?
Hassan Ali is doing this on NASR AI, an in-progress real estate intelligence platform for Dubai's property market: integrating self-hosted SearXNG search and external data sources to enrich property insights and AI-generated responses, alongside a multi-tenant RAG architecture. The stack includes Python, MongoDB and Docker.

Need this built?

I take on contract and full-time engagements. Tell me what you're building.

Other expertise