go-jev
Use typed Jev decisions in Go programs and UNIX command pipelines.
Use typed Jev decisions in Go programs and UNIX command pipelines.
The Go SDK accepts JSON-compatible state and typed questions through `Ask` for one question or `Evaluate` for a named question map. It returns structured Noul probabilities, Choice labels, or weighted Scores; the bundled CLI exposes these decisions to shell pipelines.
Decide whether the request is urgent.
The source README sends a JSON state with from=alice and text=refund me to two named questions in one Evaluate call.
Rate the customer's frustration on the ordered levels Calm, Frustrated, Very angry.
The source README sends a JSON state with from=alice and text=refund me to two named questions in one Evaluate call.
Construct a client with API key and optional model, endpoint, timeout, or retry settings.
Call Ask for one typed question or Evaluate with a state value and a named map of questions.
Read the answer's Noul, Choice, or Score field and use it in application logic.
The bundled `jev-cli` supports direct typed commands, JSON questions, stdin, and line-oriented pipelines.
The package brings typed Jev requests into Go programs and Unix workflows, including JSON state, multiple named questions in one call, ordered options, line-by-line processing, and CLI exit status for yes/no decisions.