Jev AI

jev-plays-pokemon-red

Pokemon Red on PyBoy where deterministic code owns the route and arithmetic, Jev picks only at branches, and every battle turn's faint prediction is scored by Brier against RAM state.

作者
valentynkit
领域
Gaming
分类
游戏与仿真
类型
REPO
托管于
github.com
在 GITHUB 上查看

它做什么判断

CHOICE

Picks one option from a fixed set

SCORE

Rates against ordered levels

NOUL

Answers a yes / no question

Inferred from this project's own one-line summary in the community list — it reads as a CHOICE + SCORE decision. Read the source to confirm.

CHOICE 调用长什么样

这是该提问类型的通用骨架,不是这个项目的真实代码。

from typesafe import TypeSafe

ts = TypeSafe()  # reads TYPESAFE_API_KEY
result = ts.evaluate(
    state=page_state,
    questions={
        "next_action": {
            "type": "choice",
            "options": ["click", "scroll", "type", "done"],
            "instructions": "What should the agent do next?",
        }
    },
)
action = result["next_action"]          # the chosen option
confidence = result["next_action_confidence"]
更多游戏与仿真项目