You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cogstack-cohorter/README.md
+5-21Lines changed: 5 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,8 @@ A lightweight cohort discovery application that combines:
12
12
---
13
13
14
14
## Repository structure
15
-
16
-
-`MedCAT/`
17
-
FastAPI service that provides MedCAT-based annotation endpoints.
18
-
**Note:** the MedCAT model pack is **not committed** to GitHub. It is mounted at runtime.
19
-
20
15
-`NL2DSL/`
21
-
API service that accepts natural language queries and calls **Ollama** to translate them into a JSON DSL query, optionally using MedCAT context.
16
+
API service that accepts natural language queries, calls **Ollama** to translate them into a JSON DSL query, and uses MedCAT to normalize medical terms.
22
17
23
18
-`WebAPP/`
24
19
Full application (frontend + backend) providing the UI and orchestration of the workflow.
@@ -31,16 +26,7 @@ A lightweight cohort discovery application that combines:
31
26
- Docker Desktop (or Docker Engine) with Docker Compose
32
27
- (Optional) GPU setup if you want Ollama GPU acceleration (depends on your host OS)
33
28
34
-
### 1) Put your MedCAT model pack locally (do not commit)
35
-
Place your model pack zip at:
36
-
37
-
```
38
-
MedCAT/models/medcat_model_pack.zip
39
-
```
40
-
41
-
Make sure `MedCAT/models/` (or at least the `.zip`) is excluded by `.gitignore`.
42
-
43
-
### 2) Build and start all services
29
+
### 1) Build and start all services
44
30
From the repo root:
45
31
46
32
```bash
@@ -53,9 +39,9 @@ Or run in background:
53
39
docker compose up --build -d
54
40
```
55
41
56
-
### 3) Access the app
42
+
### 2) Access the app
57
43
- Web UI: http://localhost:3000
58
-
- MedCAT API: http://localhost:3001
44
+
- MedCAT API: http://localhost:5000
59
45
- NL2DSL API: http://localhost:3002
60
46
- Ollama: http://localhost:11434
61
47
@@ -68,12 +54,11 @@ docker compose up --build -d
68
54
NL2DSL uses:
69
55
-`OLLAMA_URL` (default in compose: `http://ollama:11434/api/generate`)
0 commit comments