跳到正文
每分钟自动更新
11月12日周四
  1. Simon Willison

    Gemini Decisions API

    中文摘要

    Gemini 决策 API 与 Jev 和 OpenAI 一起加入决策模型类别,推出了“Gemini Decision 1”。这个新的模型 API 几乎与 Jev 相同:它支持相同三种类型的问题(是/否、选择题和评分题),甚至重复使用了 Jev 的术语“Noul”来表示一个是/否问题。它的定价与 GPT-6 Luna 决策模型相同:每百万输入标记收费 0.1 美元,输出免费。Jev 仍然是三者中最便宜的,每百万为 0.042 美元。Jev 仅支持文本(和 JSON)。OpenAI 可以处理文本和图像。Gemini Decision 1 是完全多模态的:它涵盖文本、图像、音频、视频和 PDF。我通过向它提供我的 Yonkers 踩踏机器人视频文件以及以下问题进行了测试:龙:这个视频中有没有龙?机器人:这个视频中有没有机器人?法国:这个视频是在法国吗?美国:这个视频是在美国吗?Jev 和 OpenAI 对于是/否问题都会返回 1.0 或 0.0,但 Gemini 似乎稍微不那么自信:{ "dragon" : { "type" : " yes_no " , "probability" : 0.04976021841520312 }, "robot" : { "type" : " yes_no " , "probability" : 0.9234055387792485 }, "france" : { "type" : " yes_no " , "probab

    英文原文

    Gemini Decisions API Google join Jev and OpenAI in the decision model category with "Gemini Decision 1". This new model API is almost identical to Jev: it supports the same three types of questions (yes/no, choice, and rubric-scoring) and even reuses Jev's term "Noul" for a yes/no question. It's priced the same as the GPT-6 Luna decision model: 10 cents per million input tokens, and output is free. Jev remains the cheapest of the three, at 4.2 cents per million. Jev is text (and JSON) only. OpenAI can handle text and images. Gemini Decision 1 is fully multi-model: it covers text, images, audio, video, and PDFs. I tested it against video by passing these questions to it along with my Yonkers stomping robot video file: dragon: Does this video have a dragon in it? robot: Does this video have a robot in it? france: Is this video set in France? usa: Is this video set in the USA? Jev and OpenAI both return 1.0 or 0.0 for yes/no questions, but Gemini insists on being a little less confident than that: { "dragon" : { "type" : " yes_no " , "probability" : 0.04976021841520312 }, "robot" : { "type" : " yes_no " , "probability" : 0.9234055387792485 }, "france" : { "type" : " yes_no " , "probab

10月7日周三
  1. Simon Willison

    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