feat: integrate local multi-system Database (ICD-10-CM, ICD-O, CPT), add cross-platform installers & dedicated runners

This commit is contained in:
Abhinav Gupta
2026-10-03 10:15:18 +05:30
parent 9ed0318b19
commit d3b000cb7c
32 changed files with 1098 additions and 1618 deletions
+15 -3
View File
@@ -175,14 +175,26 @@ def demonstrate_sample_retrieval(hybrid_retriever: HybridICDRetriever) -> None:
def main() -> None:
settings = get_settings()
db_wb = settings.get_database_workbook_path()
default_data_path = (
str(db_wb)
if (db_wb and db_wb.exists())
else (
str(settings.icd_dataset_path)
if settings.icd_dataset_path.exists()
else "./data/icd10/sample_hospital_icd.csv"
)
)
parser = argparse.ArgumentParser(
description="Index hospital-supplied local ICD-10-CM dataset into BM25 and FAISS."
description="Index hospital-supplied local ICD-10-CM / ICD-O / CPT database into BM25 and FAISS."
)
parser.add_argument(
"--data-path",
type=str,
default="./data/icd10/sample_hospital_icd.csv",
help="Path to hospital ICD-10 source file (CSV, TSV, JSON, or CMS TXT).",
default=default_data_path,
help="Path to hospital ICD/CPT source file (Excel, CSV, TSV, JSON, or CMS TXT).",
)
parser.add_argument(
"--output-dir",