← Deemwar decision model · All recipes
One request, three questions of the three types: yes/no, pick-one and rating.
curl -s localhost:21118/v1/systemone -d '{"state": "Checkout is down, customers are being charged twice", "questions": {"urgent": {"type": "noul", "instructions": "Is this urgent?"}, "team": {"type": "choice", "instructions": "Which team?", "criteria": {"web": "frontend", "api": "backend", "billing": "payments"}}, "sev": {"type": "score", "instructions": "How severe?", "criteria": ["low", "medium", "high"]}}}' | jq -c .answers
Real answer (openjevx v0.4.0 8-bit model, CPU):
{"sev":{"action":{"act_probability":1},"answer_confidence":0.7616,"confidence":0.7616,"probabilities":{"0":0.1161,"1":0.1223,"2":0.7616},"score":1.6455,"type":"score"},"team":{"action":{"act_probability":1},"answer_confidence":0.8944,"choice":"billing","confidence":0.8944,"probabilities":{"api":0.054,"billing":0.8944,"web":0.0516},"type":"choice"},"urgent":{"action":{"act_probability":1},"answer_confidence":0.8499,"confidence":0.8499,"noul":0.8499,"probabilities":{"false":0.1501,"true":0.8499},"type":"noul"}}
echo "Checkout is down, customers are being charged twice" | jevx ask --profile openjevx --no-context --noul urgent="Is this urgent?" --choice team="Which team?|web=frontend;api=backend;billing=payments" --score sev="How severe?|low;medium;high"
Real output:
sev high 0.76
team billing 0.86
urgent yes 0.85
Page the chosen team when urgent is yes and severity is high.
Right on all three: urgent yes 0.85, team billing 0.89, severity high 0.76. jevx agrees: urgent yes 0.85, billing 0.86, high 0.76.