Skip to content

Commit 7caf659

Browse files
committed
Update readme and compare runs in UI
1 parent cc0528a commit 7caf659

2 files changed

Lines changed: 346 additions & 88 deletions

File tree

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,18 @@ Keys: [openrouter.ai/keys](https://openrouter.ai/keys). Never commit secrets.
105105

106106
## Quick start
107107

108-
### One-off question
108+
### Web app
109+
```bash
110+
streamlit run src/miniBen/streamlit_app.py
111+
```
112+
This launches the MiniBen web interface in your browser, where you can configure your model, run benchmarks, and explore results interactively — no Python scripting required.
109113

110-
```python
111-
from miniBen import AIModel
114+
### Command line (`example.py`)
112115

113-
model = AIModel("openrouter/free")
114-
content, reasoning = model.ask("Say hello in one sentence.", reasoning=False)
115-
print(content)
116+
```bash
117+
python -m miniBen.example --list
118+
python -m miniBen.example --benchmark creativity --model openrouter/free
119+
python -m miniBen.example --benchmark "cognitive flexibility" --reasoning
116120
```
117121

118122
### Full benchmark (5 API calls)
@@ -131,14 +135,6 @@ print(results["outputs"][0]) # per-call detail
131135
print(results["score"]) # aggregate benchmark score
132136
```
133137

134-
### Command line (`example.py`)
135-
136-
```bash
137-
python -m miniBen.example --list
138-
python -m miniBen.example --benchmark creativity --model openrouter/free
139-
python -m miniBen.example --benchmark "cognitive flexibility" --reasoning
140-
```
141-
142138
---
143139

144140
## Benchmarks

0 commit comments

Comments
 (0)