bots-garden/mini-mepublic Fork
⑂ v1.0.5
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. cd2a817 · on v1.0.5 · k33g · Oct 24, 2026
README.en.md · 88 lines · 5.0 KBmarkdown
Blame HistoryOpen raw

Demo: customer reviews read by a decision model

Version française

No chat model anywhere. agent.yaml is a decider: every message it receives is a customer review of a coffee machine, and it answers four typed questions about it in one forward pass of LiquidAI d1-3B (POST /v1/systemone on llmman), without writing any text:

Question Type Answer
sentiment score 0 (very negative) to 4 (very positive)
topic choice quality, delivery, price, customer_service or usability, with a confidence
competitor noul probability that the review names another brand or product
recommend noul probability that the author would recommend the product

reviews/ holds eight reviews: one in French, one sarcastic ("Oh great, another machine that leaks…"), one naming a competitor. expected.json holds the answers a person would give, so the script can say where the model was wrong.

Editable source: decision-reviews-flow.drawio (draw.io); decision-reviews-flow.svg is the same picture.

Run it

Pull the model into llmman once:

llmman pull hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M

Then, from this directory:

mm -config agent.yaml -p "$(cat reviews/03.txt)"   # the server's JSON on stdout, for a script
mm -config agent.yaml                              # paste a review, read one line per question
node analyse-reviews.js                            # every review as a table, worst first

analyse-reviews.js runs one mm -p per review (set MM_BIN if mm is not on your PATH) and marks with ✗ each answer that differs from expected.json: the sentiment band (negative below 1.5, mixed up to 2.5, positive above), the topic, the competitor and, for the four reviews where it is clear, the recommendation.

To try another decision model with the same questions, copy the agent file with another model: and give it to the script:

sed 's#d1-3B-GGUF:Q4_K_M#d1-omni-600M-GGUF:Q8_0#' agent.yaml > omni.yaml
node analyse-reviews.js omni.yaml

What was measured (2026-10-23, from the sandbox, llmman on the host)

LiquidAI d1-3B Q4_K_M:

file    sentiment             topic                       competitor  recommend  time
04.txt  0.24 very negative    customer_service (0.97)     no          no         553 ms
08.txt  0.37 very negative    quality (0.89)              no          no         558 ms
02.txt  0.82 negative         delivery (0.97)             no          no         586 ms
06.txt  1.19 negative         usability (0.85)            no          no         590 ms
03.txt  1.20 negative         price (0.98)                yes         no         547 ms
05.txt  2.44 mixed            quality (0.83)              no          no         545 ms
07.txt  3.59 very positive    customer_service (0.97)     no          yes        551 ms
01.txt  3.88 very positive    quality (0.87)              no          yes        566 ms

28/28 answers as expected (sentiment band, topic, competitor, recommendation)

Every answer as expected, the sarcastic review included (0.37, very negative) and the French one (mixed, the small water tank filed under quality, which expected.json accepts with usability). About 0.55 s per review, the mm start-up included.

LiquidAI d1-omni-600M Q8_0, the same questions:

file    sentiment             topic                       competitor  recommend  time
04.txt  0.59 negative         customer_service (0.53)     no          yes✗       100 ms
08.txt  0.71 negative         quality (0.53)              no          no         101 ms
02.txt  1.19 negative         delivery (0.90)             no          no         109 ms
06.txt  1.35 negative         usability (0.60)            no          no         118 ms
03.txt  2.16 mixed            price (0.73)                yes         yes        111 ms
05.txt  2.68 positive         quality (0.60)              no          yes        110 ms
07.txt  3.62 very positive    customer_service (0.97)     no          yes        110 ms
01.txt  3.97 very positive    quality (0.66)              no          no✗        120 ms

26/28 answers as expected (sentiment band, topic, competitor, recommendation)

Five times faster (about 0.1 s per review), the same order of reviews, the same topics, but lower confidences and two recommendations reversed: yes for "Stopped working after three weeks… Avoid." and no for "Best purchase of the year."

Read more

 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
# Demo: customer reviews read by a decision model

*[Version française](README.fr.md)*

No chat model anywhere. `agent.yaml` is a **decider**: every message it receives is a customer review of a coffee machine, and it answers four typed questions about it in one forward pass of LiquidAI d1-3B (`POST /v1/systemone` on llmman), without writing any text:

| Question | Type | Answer |
|----------|------|--------|
| `sentiment` | score | 0 (*very negative*) to 4 (*very positive*) |
| `topic` | choice | `quality`, `delivery`, `price`, `customer_service` or `usability`, with a confidence |
| `competitor` | noul | probability that the review names another brand or product |
| `recommend` | noul | probability that the author would recommend the product |

`reviews/` holds eight reviews: one in French, one sarcastic ("Oh great, another machine that leaks…"), one naming a competitor. `expected.json` holds the answers a person would give, so the script can say where the model was wrong.

![The decision-reviews flow: a script sends each review to the decider and checks its answers](decision-reviews-flow.svg)

Editable source: `decision-reviews-flow.drawio` (draw.io); `decision-reviews-flow.svg` is the same picture.

## Run it

Pull the model into llmman once:

```bash
llmman pull hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
```

Then, from this directory:

```bash
mm -config agent.yaml -p "$(cat reviews/03.txt)"   # the server's JSON on stdout, for a script
mm -config agent.yaml                              # paste a review, read one line per question
node analyse-reviews.js                            # every review as a table, worst first
```

`analyse-reviews.js` runs one `mm -p` per review (set `MM_BIN` if `mm` is not on your PATH) and marks with `✗` each answer that differs from `expected.json`: the sentiment band (negative below 1.5, mixed up to 2.5, positive above), the topic, the competitor and, for the four reviews where it is clear, the recommendation.

To try another decision model with the same questions, copy the agent file with another `model:` and give it to the script:

```bash
sed 's#d1-3B-GGUF:Q4_K_M#d1-omni-600M-GGUF:Q8_0#' agent.yaml > omni.yaml
node analyse-reviews.js omni.yaml
```

## What was measured (2026-10-23, from the sandbox, llmman on the host)

LiquidAI d1-3B Q4_K_M:

```
file    sentiment             topic                       competitor  recommend  time
04.txt  0.24 very negative    customer_service (0.97)     no          no         553 ms
08.txt  0.37 very negative    quality (0.89)              no          no         558 ms
02.txt  0.82 negative         delivery (0.97)             no          no         586 ms
06.txt  1.19 negative         usability (0.85)            no          no         590 ms
03.txt  1.20 negative         price (0.98)                yes         no         547 ms
05.txt  2.44 mixed            quality (0.83)              no          no         545 ms
07.txt  3.59 very positive    customer_service (0.97)     no          yes        551 ms
01.txt  3.88 very positive    quality (0.87)              no          yes        566 ms

28/28 answers as expected (sentiment band, topic, competitor, recommendation)
```

Every answer as expected, the sarcastic review included (0.37, *very negative*) and the French one (*mixed*, the small water tank filed under `quality`, which `expected.json` accepts with `usability`). About 0.55 s per review, the `mm` start-up included.

LiquidAI d1-omni-600M Q8_0, the same questions:

```
file    sentiment             topic                       competitor  recommend  time
04.txt  0.59 negative         customer_service (0.53)     no          yes✗       100 ms
08.txt  0.71 negative         quality (0.53)              no          no         101 ms
02.txt  1.19 negative         delivery (0.90)             no          no         109 ms
06.txt  1.35 negative         usability (0.60)            no          no         118 ms
03.txt  2.16 mixed            price (0.73)                yes         yes        111 ms
05.txt  2.68 positive         quality (0.60)              no          yes        110 ms
07.txt  3.62 very positive    customer_service (0.97)     no          yes        110 ms
01.txt  3.97 very positive    quality (0.66)              no          no✗        120 ms

26/28 answers as expected (sentiment band, topic, competitor, recommendation)
```

Five times faster (about 0.1 s per review), the same order of reviews, the same topics, but lower confidences and two recommendations reversed: *yes* for "Stopped working after three weeks… Avoid." and *no* for "Best purchase of the year."

## Read more

- [How to ask a decision model](../../docs/en/how-to/ask-a-decision-model.md)
- [Configuration reference — `decision`](../../docs/en/reference/configuration.md#decision)
- [Decision models — explanation](../../docs/en/explanation/decision-models.md#a-decider-on-its-own)
- The other demos with a decider alone: [`decision-only`](../decision-only/README.en.md) (a support inbox), [`decision-moderation`](../decision-moderation/README.en.md) (blog comments)