Rajan Sharma commited on
Commit
cbd21ea
·
verified ·
1 Parent(s): 156e8ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -26
README.md CHANGED
@@ -1,26 +1,26 @@
1
- # ClarityOps (LLM-Only)
2
-
3
- ClarityOps runs fully inside an LLM chat:
4
- 1) User pastes a scenario and optionally attaches data files (CSV/XLSX/PDF).
5
- 2) **Phase 1**: ClarityOps reads everything and asks up to 5 grouped clarification questions.
6
- 3) User answers in the chat.
7
- 4) **Phase 2**: ClarityOps produces a validated, structured analysis.
8
-
9
- No external code, servers, or UI — all interaction is conversational.
10
-
11
- ## How to use (operator playbook)
12
-
13
- **Turn 1 (User):** Paste the scenario using `/prompts/user_scenario_template.txt`. Attach any files.
14
-
15
- **Turn 2 (Model):** ClarityOps returns **Phase 1: Clarification Questions** (≤5, grouped). It stops and waits.
16
-
17
- **Turn 3 (User):** Reply using `/prompts/answer_clarifications_template.txt`.
18
-
19
- **Turn 4 (Model):** ClarityOps returns **Phase 2: Structured Analysis** in the exact format from `/prompts/phase2_format.txt`.
20
-
21
- ### Notes
22
- - The **system prompt** (`/prompts/system_master.txt`) enforces the two-phase behavior, numerical transparency, units, and medical guardrails.
23
- - The **schema** (`/schemas/phase2_output.schema.json`) is provided as a reference shape that the model mirrors in Phase 2. (The LLM follows it; there’s no external validator.)
24
- - The **guardrails** (`/policies/medical_guardrails.md`) define units, ranges, privacy, and recommendation style.
25
-
26
-
 
1
+ ---
2
+ title: ClarityOps (LLM-Only)
3
+ emoji: 🏥
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: gradio
7
+ sdk_version: "4.44.0"
8
+ app_file: app.py
9
+ pinned: true
10
+ ---
11
+
12
+ # ClarityOps — Two-Phase Medical Analyst (Prompt-Only)
13
+
14
+ This Space runs entirely in chat:
15
+ 1) Paste a scenario and (optionally) upload files (CSV/XLSX/PDF).
16
+ 2) **Phase 1:** ClarityOps asks up to 5 grouped clarification questions and *waits*.
17
+ 3) Answer in the chat.
18
+ 4) **Phase 2:** ClarityOps returns a structured analysis with calculations, units, and provenance.
19
+
20
+ **Handshake on load:** “ClarityOps loaded. Paste your scenario and attach files. I’ll ask up to 5 clarifications, then produce the structured analysis”.
21
+
22
+ ## Notes
23
+ - `app_file` is `app.py` at the repo root.
24
+ - Requires Python deps in `requirements.txt`.
25
+
26
+ See the Spaces config reference: https://huggingface.co/docs/hub/spaces-config-reference