personal project Python

ServiceKB RAG

  • FastAPI
  • PostgreSQL
  • pgvector

A retrieval-augmented knowledge base for industrial field service. It combines vector, keyword, and equipment-entity retrieval across manuals and service records, with access controls for each document chunk, cited answers, and escalation when the evidence is insufficient.

research prototype Python

Medical Multi-Agent System

  • LangGraph
  • FastAPI
  • Pydantic
  • Docker

Python research prototype using LangGraph and FastAPI for intake, diagnosis, treatment, coding, and a deterministic audit. Extends an open-source scaffold with symptom-based retrieval, curated drug-interaction and allergy checks, bounded diagnosis retries, and an OpenAI-compatible or Codex CLI model backend. Coding receives the full patient record and every proposed ICD-10 code is checked against a packaged official FY2027 catalog of 74,879 complete codes. Includes offline regression tests and an evaluation harness with versioned synthetic cases, archived stage outputs and a two-model comparison.

personal project Python

Anota

  • FastAPI
  • SQLite
  • Docker

A keyboard-first, self-hosted workbench for translation quality assessment and speech transcription review. Blind golden sets, append-only audit trails, an LLM judge that must be calibrated before use, and content-hashed exports are part of the data model.

personal project TypeScript

Qiorazen

  • Next.js
  • TypeScript
  • Supabase
  • PostgreSQL
  • Tailwind CSS

A wellness web app built around a 27-question Traditional Chinese Medicine constitution screening, scored with the GB/T 46939-2025 standard. Users ask follow-up questions; AI drafts diet, exercise and lifestyle guidance, and a Wellness Advisor reviews every answer before it is shown. Emergency symptoms block the form and point to 911 / 988.

Live at qiorazen.com.

Python★ 1

Open-LLM De-identification

  • PyTorch
  • Hugging Face Transformers
  • Accelerate

Can open 7B LLMs strip protected health information from clinical notes, zero-shot? Runs LLaMA 1 and 2, Falcon-7B and Flan-T5 on the 514-note n2c2 2014 test set under explicit, implicit and ask-then-delete prompts. A re-read of the 2023 runs shows the rewrite scores sit at the floor of an untouched note (0.597), because the scripts saved the prompt with the output; asking Flan-T5 for the PHI and deleting its answers gave the one real gain (0.737). A synthetic worked example shows every step without the restricted data.

Jupyter

RadQNLI: radiology NLI for LLMs

  • OpenAI API
  • pandas
  • NLTK
  • Hugging Face Evaluate

Can one generic LLM read radiology reports as well as models fine-tuned on the task? Builds RadQNLI from RadQA’s MIMIC-III reports by pairing each clinician question with every report sentence and keeping the negatives that share words with the question (ROUGE-1 ≥ 0.2): 9,838 pairs, rebuilt exactly by the repository’s scripts. ChatGPT with three examples drops from 0.81 to 0.62 accuracy as the test negatives share more words with the question, but random negatives of the same count drop almost as far (0.83 to 0.64): most of the decline follows the rising share of entailment pairs. In the paper GPT-4 reaches 0.842 accuracy, against 0.847 for BERT-family models fine-tuned on all the training data. RadQA needs PhysioNet credentialing; a synthetic example shows every step.