File size: 5,051 Bytes
4aa909d 5a8adec 4aa909d 23d27dd 4aa909d 5a8adec 4aa909d 5a8adec 4aa909d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | # How to use drAIML 2.0
Open **https://huggingface.co/spaces/PYTHAI/drAIML**. The first visit takes 20–40 s while Python and Streamlit
load in your browser. After that, everything runs on your own machine: there is no drAIML server.
## 1. Start

Pages: **Consultation**, **Evidence search**, **Models**, **Datasets**, **About · Oath**. On the live Space
the top bar also has **Sign in with Hugging Face**.
## 2. Choose a model

- **Hugging Face · Inference Providers.** Sign in (top bar) or paste an HF token. ★ marks models recommended
for consultation. Calls bill your own HF account.
- **Groq / Together.** Paste your own key.
- **Your endpoint.** Ollama, vLLM, llama.cpp or an HF Endpoint, for the open medical specialists.
- **Mode.** General medicine · Physiotherapy & sports therapy · Psychotherapy support.
- **Second opinion.** Ask two models side by side.
## 2a. Bonsai in your browser: free, private, no key

Choose **Bonsai · in this browser** as the source. On your first question drAIML shows its Agreement:

One click on **I agree** downloads prism-ml's Bonsai-1.7B (1-bit, Apache-2.0, 248 MB) from Hugging Face
once, checks it against its sha256 pin and keeps it in this browser. The
[browseML](https://github.com/browseML/browseML) engine (bankML on WebAssembly) then answers on your own
computer, with drAIML's evidence searched in your browser too. Nothing you type leaves your device.
Each answer carries a bankML receipt, which the page checks against the text it received. Bonsai is a
small model: quick to load and private, but less reliable than large models, so check important things
with a clinician. On a 4-core laptop expect a minute or two before the first words, then a couple of words a second. **Remove** in the sidebar deletes the model
from this browser.
## 3. Emergencies come first

Your words are checked for red flags before any model runs. Evidence still shows if no model is configured.
## 4. Use your own model (e.g. a medical specialist via Ollama)

```bash
OLLAMA_ORIGINS=https://pythai-draiml.static.hf.space ollama serve
ollama run hf.co/mradermacher/II-Medical-8B-i1-GGUF
```
Then choose **Your endpoint**, URL `http://localhost:11434/v1`, model `hf.co/mradermacher/II-Medical-8B-i1-GGUF`.
Chrome may ask for permission to let the page reach your local network: allow it.
*(The answer in this screenshot came from a test endpoint used to check the interface.)*
## 4a. Physiotherapy & sports therapy mode

Pick **🦴 Physiotherapy** under *Mode*. Retrieval leans on the physiotherapy, rehabilitation and exercise
datasets, and answers follow *What this could be · Exercises & self-care · Red flags — seek care ·
Questions for you*. *(Answer from a test endpoint, used to check the interface.)*
## 4b. Copy or export any answer

Every answer has **⧉ Copy** and **⬇ .txt** at its top right. Both include the date, model, question,
answer and the cited sources with their licences.
## 4c. Psychotherapy support mode

**🧠 Psychotherapy** gives CBT-style self-help and support options, with crisis lines first when needed.
Without a model configured you still see the evidence, as here.
## 5. See the evidence behind an answer

Each [n] in the answer is a passage from an openly licensed dataset, shown with its source and licence.
## 6. The Hippocratic review

Each answer is scored against do no harm, beneficence, autonomy and confidentiality, with a risk level.
## 7. Search the evidence directly (no sign-in)

## 8. Browse models

**Hosted engines** lists the open models live on HF Inference Providers right now, with licence, context
length, price and providers; select a row to consult it.

**Medical specialists** are open medical fine-tunes not hosted anywhere: each has a one-line Ollama command
and a **Use via Ollama** button.
## 9. Browse open health datasets


Select a dataset row to preview it; **Live Hub search** finds more, with only openly licensed, ungated
results shown.
---
Information only — not a diagnosis. In an emergency call your local emergency number.
|