04 — Specialized Work

AI Software & Machine Learning Portfolio

Explore production AI software pipelines, Python machine learning models, Pydantic schema validation gateways, and deterministic LLM prompt implementations by Anupam Baral (@gomugomucode).

Featured AI & Machine Learning Systems

Type-Safe AI Inference Gateway

Tech Stack: Python, FastAPI, Pydantic, TypeScript, Zod, Docker

Architected a type-safe API gateway bridging Python ML inference engines with TypeScript web clients. Enforces structural Pydantic runtime schema validation to eliminate undefined runtime errors.

  • Sub-150ms inference response gateway with asynchronous route handlers
  • Strict Pydantic & Zod schema validation across client-server boundaries
  • Containerized Docker deployment isolating heavy ML dependencies

Deterministic LLM Output Schema Engine

Tech Stack: Python, OpenAI API, Prompt Engineering, JSON Schema, Pydantic

Designed a deterministic JSON schema wrapper for Large Language Model (LLM) APIs. Converts unstructured text responses into 100% compliant structured JSON data for downstream database storage.

  • Guaranteed 100% schema compliance for extracted structured data
  • Automated retry and fallback strategies for malformed model outputs
  • Token usage & API cost tracking telemetry integration

Predictive Analytics & Feature Extraction Pipeline

Tech Stack: Python, NumPy, Pandas, Scikit-Learn, Matplotlib

Built end-to-end data preprocessing and classification pipelines using Pandas and Scikit-Learn. Performed feature engineering, missing value imputation, and model hyperparameter tuning.