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
|
# A decision model, alone: no chat model anywhere. Every message this agent
# receives is a customer review of a coffee machine; it answers four typed
# questions about it in one forward pass, and writes no text.
#
# mm -config agent.yaml -p "$(cat reviews/03.txt)" # the server's JSON on stdout
# mm -config agent.yaml # paste a review, read one line per question
# node analyse-reviews.js # every review as a table, worst first, checked against expected.json
#
# Served by llmman (its llama-server backend has /v1/systemone). Pull the
# model once: llmman pull hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
provider: llmman
model: hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
decision:
# The first call loads the model (2 to 13 s); a warm one takes 0.2–0.5 s.
timeout: 60s
questions:
sentiment:
type: score
instructions: How does the author feel about the product overall?
criteria: [very negative, negative, mixed, positive, very positive]
topic:
type: choice
instructions: What is the review mostly about?
criteria:
quality: How well the product works, its coffee, its defects and breakdowns
delivery: Shipping, delays, the parcel or the carrier
price: The price or the value for money
customer_service: The support team, a repair, a replacement or a refund
usability: Setting it up and using it day to day, its app, its size or its tank
competitor:
type: noul
instructions: The review mentions another brand or a competing product.
recommend:
type: noul
instructions: The author would recommend this product to a friend.
# A decider gets no tool and ignores AGENTS.md: mm turns bash, the file tools,
# plan, ask_user, skills and AGENTS.md off by itself (no `…: false` lines needed).
|