AI·THE EXPLAINERニュースを理解する
OpenAI's Decisions API enables PR triage automationOpenAI、PR判定にDecisions API活用例
A Hacker News guide shows developers how to use OpenAI's Decisions API to classify GitHub pull requests by review track and migration risk.Hacker Newsのガイドが、OpenAIのDecisions APIを使ってGitHubのプルリクエストを分類する方法を紹介した。

OpenAI · Archive photograph, 2025-06-15OpenAI · 資料写真、2025-06-15 · Coolcaesar
OpenAI · Archive photograph, 2025-06-15OpenAI · 資料写真、2025-06-15
Coolcaesar ↗ · CC BY 4.0 · Cropped to fit表示枠に合わせてトリミング
THE SOURCE TRAIL情報の根拠
2 first-party sources linked. 0 news organizations linked.当事者・公的資料2件、報道機関0件にリンクしています。
Claims checked against source text主張と原典の照合記録(英語)
An automated review linked these claims to supplied source text. This is not a human fact-check or independent verification of the source.自動点検が、記事の主張と入力した原典本文を対応づけた記録です。人による事実確認や、原典自体の正しさを独立して検証した結果ではありません。
OpenAI's Decisions API can evaluate a GitHub pull request's diff against review questions like review track and migration need
vercel.com ↗The example script requires Node.js 22+, OPENAI_API_KEY and GITHUB_TOKEN, and supports PRs with up to 100 changed files within a 100 KB input budget
vercel.com ↗The evaluation does not establish correctness or readiness to merge; it does not replace tests, required reviews or branch protections
vercel.com ↗
Reviewed: 照合日時:
What happened何が起きたか
The guide describes an example script that sends a GitHub pull request's title, description and file patches to OpenAI's Decisions API to answer two questions: which review track a change fits, and whether it requires callers to migrate. It runs on Node.js 22+ with an OPENAI_API_KEY and a GITHUB_TOKEN, and is limited to PRs with up to 100 changed files and a 100 KB input budget in this example.このガイドでは、GitHubのプルリクエストのタイトル、説明、ファイルのパッチをOpenAIのDecisions APIに送り、「どのレビュー区分に該当するか」と「呼び出し元の移行が必要か」という2つの質問に答えさせるスクリプト例を紹介している。Node.js 22以降とOPENAI_API_KEY、GITHUB_TOKENを使用し、例では変更ファイル数100件まで、入力サイズ100KBまでという制限がある。
Why it matters何が変わるのか
Developers building review tooling get a way to flag compatibility risks automatically, but the API only returns classifications and probabilities, not written code review, correctness checks or merge approval.開発者はレビューツールに互換性リスクの自動フラグ付けを組み込めるようになるが、このAPIが返すのは分類結果や確率のみで、文章によるコードレビューや正確性の判定、マージ承認の代わりにはならない。
A little context · terms in this story理解の手がかり · この記事の用語
- API
- An interface that lets one piece of software use another service. An AI API lets a developer send requests to a model from their own application.ソフトウェアから別のサービスを利用するための窓口。AIのAPIなら、自分のアプリからモデルに処理を依頼できます。
Read the sources原典を読む
The marked texts informed this summary. Other links provide related coverage; a link is not independent verification.印のある記事本文を要約の材料にしています。ほかは関連情報です。リンクの数は独立した裏付けの数を意味しません。
More in AIAIのほかの記事
MiniMax launches M3.1 Flash, cuts agent task costs 70%MiniMax、M3.1 Flash発表 エージェント費用7割減
12 linked sites関連12サイト
Mistral launches Voxtral 3 speech models and voice agent SDKMistral、音声エージェントSDK「Voxtral 3」公開
1 linked site関連1サイト
Anthropic opens Claude Duet preview on waitlistAnthropic、Claude Duetの先行体験開始
19 linked sites関連19サイト