← Deemwar decision model · All recipes

Question or instruction?

Pick-one: answer the message, or change code?

Call the local server

curl -s localhost:21118/v1/systemone -d '{"state": "why does the retry helper sleep before the first attempt?", "questions": {"intent": {"type": "choice", "instructions": "What is the user asking for?", "criteria": {"answer": "a question to answer, no code change", "change": "an instruction to change code"}}}}' | jq -c .answers

Real answer (openjevx v0.4.0 8-bit model, CPU):

{"intent":{"action":{"act_probability":1},"answer_confidence":0.8294,"choice":"answer","confidence":0.8294,"probabilities":{"answer":0.8294,"change":0.1706},"type":"choice"}}

Same thing with jevx

jevx pick --profile openjevx --no-context "What is the user asking for?" answer="a question to answer, no code change" change="an instruction to change code" --in "why does the retry helper sleep before the first attempt?"

Real output:

answer 0.83

What to do with the answer

On answer, explain and do not touch the code.

How the local model did

Right: answer (0.83).