API Reference Jev v#0.2.2

Copy Markdown View Source

Modules

Jev

TypeSafe Jev for OTP.

What answers the questions: a behaviour with one callback.

Pick one of 2 to 255 labelled options. Jev answers with the label as an atom, plus a confidence and the probability of every option.

A non-2xx response from a /v1/systemone endpoint.

The transport: one POST to /v1/systemone per call.

A yes/no question. Jev answers with the probability of yes, from 0 to 1.

Rate the state on 2 to 10 ordered levels, numbered from 0. Jev answers with the expected level as a float, plus a confidence and the probability of every level.

A GenServer that talks to Jev by replying.

The telemetry every backend emits.

Test helpers: wire bodies from reply-shaped maps.

The /v1/systemone response as JSON-shaped structs.

One answer. noul, choice, or score is set according to type; confidence, legend, and probabilities accompany a choice or score.

The response body: the model that answered, one answer per question, and usage.

Token counts. Both default to zero when the server omits them.