Metadata-Version: 2.4
Name: digital-registrar-gui
Version: 0.2.0b1
Summary: Streamlit inference GUI for the Digital Registrar pipeline.
Author: Han Chang, Kai-Po Chang
License-Expression: MIT
Project-URL: Homepage, https://github.com/kblab2024/digitalregistrar
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Healthcare Industry
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: digital-registrar==0.2.0b1
Requires-Dist: streamlit>=1.35

# digital-registrar-gui

Streamlit inference GUI for the Digital Registrar pipeline. Lets you paste a pathology report (or pick a folder of `.txt` files) and see the structured extraction in real time.

## Install

```bash
pip install digital-registrar-gui
registrar-infer-gui
```

The default port is 8502. Override with `registrar-infer-gui --port 9000`.

## What it does

- Two-column layout: input on the left, sticky JSON output on the right.
- Lets you switch engine (`factory` v2 or `legacy` v1), model, decomposition strategy, and optional jsonize / output validation.
- Folder mode: pick a directory, see one row per `.txt`, click to preview.
- Expander shows the DSPy LM trace for each run (router + group extractors).

Depends on `digital-registrar` for the actual pipeline.
