跳到正文
Simon Willison·· 2026-10-07

llm-openai-decisions 0.1a0

llm-openai-decisions 0.1a0

中文摘要

发布:llm-openai-decisions 0.1a0 OpenAI 他们新推出的 Jev 风格的 Decisions API,如上周 DevDay 上之前所宣布的那样。由于我已经有一个 llm-typesafe 插件用于与 Jev 交流,我让 GPT-6 Astra 阅读了新的 OpenAI API 文档并创建了一个受 llm-typesafe 启发的 llm-openai-decisions 插件。与 Jev 不同,新的 gpt-6-luna 决策模型除了支持文本输入外,还支持图像输入。这两个模型对输入收费,而不是对输出收费:OpenAI 的是每百万个输入标记 10 美分,Jev 的是每百万个输入标记 4.2 美分。否则,API 的结构与 Jev 非常相似,至少在概念上是如此。Jev 支持三种问题类型:是/否、选择或评分。OpenAI Decisions 也支持这三种类型。安装插件的方式如下:llm install llm-openai-decisions 这是一个针对图像附件的示例查询:llm -m openai-decisions/gpt-6-luna \ -a https://static.simonwillison.net/static/2025/two-pelicans.jpg \ -s ' 这张图片中是否有任何哺乳动物? ' 示例输出:{ "type" : " predicate " , "name" : " evaluation " , "probability" : 0.0 } 请查阅 README 以了解如何运行其他类型问题的完整说明。标签:openai , llm , coding-agents

英文原文

Release: llm-openai-decisions 0.1a0 OpenAI released their new Jev-style Decisions API , as previously announced at last week's DevDay. Since I already have an llm-typesafe plugin for talking to Jev, I had GPT-6 Astra read the new OpenAI API documentation and build an llm-openai-decisions plugin inspired by llm-typesafe . Unlike Jev, the new gpt-6-luna decision model supports image input in addition to text. Both models charge for input it and not for output: OpenAI's is 10 cents per million input tokens, Jev's is 4.2 cents per million. Otherwise the API shape is very similar to Jev, at least conceptually. Jev supports three question types for yes/no, choices, or scores. OpenAI Decisions supports the same three types. Install the plugin like this: llm install llm-openai-decisions Here's an example query against an image attachment: llm -m openai-decisions/gpt-6-luna \ -a https://static.simonwillison.net/static/2025/two-pelicans.jpg \ -s ' Does this image contain any mammals? ' And example output: { "type" : " predicate " , "name" : " evaluation " , "probability" : 0.0 } Consult the README for full details of how to run the other types of questions. Tags: openai , llm , coding-agents

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Simon Willison · simonwillison.net