×
×
Description
Changelog
Reviews (0)
Godot Jev
A Godot 4.7+ addon that wraps TypeSafe AI's Jev System One HTTP API.
Features
- Choice. Pick one option from a fixed list, with option probabilities and confidence with
Jev.choice(). - Score. Rate state against ordered levels to get a continuous score and level distribution with
Jev.score(). - Noul. Ask a yes/no question to get the probability (0.0 to 1.0) that the answer is yes with
Jev.noul(). - Box. Find where something is in an image as a normalized Godot
Rect2withJev.box()(preview; requires model"jev-preview"or"jev-1.14.0"). - Single-pass batches. Ask multiple questions about the same state in one request with
Jev.evaluate(). - Native Godot inputs. Pass
Dictionary,Array,String,Image,Texture2D, orJevImageacross state and question data, or pass state objects implementingto_dict()orto_state(). - Scene-safe requests. Cancel in-flight requests automatically when a node leaves the scene tree with
bind_node(). - Automatic retries. Retry rate-limited or overloaded requests on HTTP 429 and 529 with backoff.
Setup
- Enable Godot Jev in Project > Project Settings > Plugins.
- Set your TypeSafe API key using
Jev.api_key, thejev/config/api_keyproject setting, or theTYPESAFE_API_KEYenvironment variable.
Quick example
var state := {
"player_hp_pct": 0.22,
"enemy_count": 3,
"exit_dist_m": 12.0,
}
var eval := Jev.choice(state, "Best tactical move?", ["retreat", "hold_ground", "attack"])
await eval.finished
if eval.is_success():
print(eval.get_choice(), " confidence: ", eval.get_confidence())
else:
push_error(eval.get_error().message)
Disclaimer
This is an independent community project and is not affiliated with or endorsed by TypeSafe AI.
Changelog for version v1.0.0
2026-10-16 13:47:30
No changelog provided for this version.