h
hanzalaxshadow

Hanzala Ahsan

@hanzalaxshadow

AI and Software Developer

Pakistan
English, Urdu
About me
I am a Computer Science student and AI/ML Team Lead with extensive experience in building production-oriented RAG pipelines and full-stack applications. I specialize in architecting cost-conscious AWS deployments, developing intelligent video analysis systems using PyTorch, and leading software development teams to deliver secure HRIS platforms.... Read more

Skills

h
hanzalaxshadow
Hanzala Ahsan
Offline • 

See my services

AI Websites & Software
I will build a custom rag ai chatbot for your documents

Portfolio

Work experience

Özyeğin_University

AI Lead Developer

Özyeğin University • Full-time

Jun 2026 - Aug 2026 • 2 mos

End-to-End Pipeline Architecture: Engineered a robust, asynchronous Python and FastAPI backend from scratch to handle document ingestion, chunking, embedding generation, and LLM inference flows. Integrated high-performance BGE embeddings to capture dense semantic representations across massive corpora of complex financial data. Advanced Vector Search & Indexing Optimization: Configured and optimized PostgreSQL with pgvector, implementing HNSW (Hierarchical Navigable Small World) cosine indexing to achieve ultra-low-latency similarity search over 158,570+ dense text chunks. Eliminated retrieval noise by implementing multi-query decomposition (breaking complex user audit questions into sub-queries) and integrating a cross-encoder reranker to filter and score top matches before context injection. LLM Integration & Cost/Latency Governance: Connected the retrieval pipeline to Amazon Bedrock DeepSeek generation APIs, establishing strict context window governance and prompt guardrails to ensure deterministic, factual answers. Minimized token overhead and operational costs by ensuring only high-relevance, reranked chunks reached the model generation stage. Rigorous Evaluation Harness & Quality Assurance: Built a frozen-pipeline evaluation harness using golden test datasets and unseen enterprise audit questions to mathematically measure retrieval efficacy rather than relying on subjective output. Measurable Impact: Achieved a top-tier evaluated Hit@5 of 1.00 and Recall@5 of 0.958, completely eliminating hallucinations and successfully resolving multi-hop financial reasoning queries.