diff --git a/README.md b/README.md index 8c65429..94bd76e 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,8 @@ flowchart TD ## 5. Deploy the Application +You can download the source-code here: [mdm_project.zip](./files/mdm_project.zip) + ### Ollama on OCI A10 — Two-GPU Installation & Configuration (Step-by-Step) This section explains how to install **Ollama** on an Oracle Linux VM with **two NVIDIA A10 GPUs**, run **one Ollama service per GPU** via `systemd`, pull and tune the **Qwen 2.5 7B** model, and configure your app (`config.py` and `run.sh`) to use both endpoints concurrently. diff --git a/__init__.py b/files/__init__.py similarity index 100% rename from __init__.py rename to files/__init__.py diff --git a/app.py b/files/app.py similarity index 100% rename from app.py rename to files/app.py diff --git a/config.py b/files/config.py similarity index 100% rename from config.py rename to files/config.py diff --git a/files/mdm_project.zip b/files/mdm_project.zip new file mode 100644 index 0000000..8e12b19 Binary files /dev/null and b/files/mdm_project.zip differ diff --git a/prompts/__init__.py b/files/prompts/__init__.py similarity index 100% rename from prompts/__init__.py rename to files/prompts/__init__.py diff --git a/prompts/address_prompt.txt b/files/prompts/address_prompt.txt similarity index 100% rename from prompts/address_prompt.txt rename to files/prompts/address_prompt.txt diff --git a/prompts/customer_prompt.txt b/files/prompts/customer_prompt.txt similarity index 100% rename from prompts/customer_prompt.txt rename to files/prompts/customer_prompt.txt diff --git a/requirements.txt b/files/requirements.txt similarity index 100% rename from requirements.txt rename to files/requirements.txt diff --git a/run.sh b/files/run.sh similarity index 100% rename from run.sh rename to files/run.sh diff --git a/schemas.py b/files/schemas.py similarity index 100% rename from schemas.py rename to files/schemas.py diff --git a/services/__init__.py b/files/services/__init__.py similarity index 100% rename from services/__init__.py rename to files/services/__init__.py diff --git a/services/address_service.py b/files/services/address_service.py similarity index 98% rename from services/address_service.py rename to files/services/address_service.py index 38af1c5..0267a6c 100644 --- a/services/address_service.py +++ b/files/services/address_service.py @@ -1,6 +1,6 @@ import httpx, json, itertools, logging, time, asyncio, re from pathlib import Path -from config import settings +from files.config import settings from .common import safe_json_from_text logger = logging.getLogger("mdm.services") diff --git a/services/common.py b/files/services/common.py similarity index 100% rename from services/common.py rename to files/services/common.py diff --git a/services/dedupe_service.py b/files/services/dedupe_service.py similarity index 100% rename from services/dedupe_service.py rename to files/services/dedupe_service.py diff --git a/services/enrich_service.py b/files/services/enrich_service.py similarity index 100% rename from services/enrich_service.py rename to files/services/enrich_service.py diff --git a/services/golden_service.py b/files/services/golden_service.py similarity index 100% rename from services/golden_service.py rename to files/services/golden_service.py diff --git a/services/harmonize_service.py b/files/services/harmonize_service.py similarity index 100% rename from services/harmonize_service.py rename to files/services/harmonize_service.py diff --git a/services/normalize_service.py b/files/services/normalize_service.py similarity index 95% rename from services/normalize_service.py rename to files/services/normalize_service.py index a3874a7..d3617f6 100644 --- a/services/normalize_service.py +++ b/files/services/normalize_service.py @@ -1,8 +1,8 @@ import httpx, json, itertools, logging, time, asyncio from pathlib import Path -from config import settings +from files.config import settings from .common import safe_json_from_text -from services.zipcode_service import enrich_address_with_zipcode +from files.services.zipcode_service import enrich_address_with_zipcode logger = logging.getLogger("mdm.services") _rr = itertools.count() diff --git a/services/zipcode_service.py b/files/services/zipcode_service.py similarity index 100% rename from services/zipcode_service.py rename to files/services/zipcode_service.py