
テキスト、JSON、画像、動画、音声に関する質問yes/no、選択、スコア、ツールの質問に最大100万トークンで回答し、入力に答えがないと判断できます。
テキスト、JSON、画像、動画、音声に関する質問yes/no、選択、スコア、ツールの質問に最大100万トークンで回答し、入力に答えがないと判断できます。
状態と入力された質問をPOSTに送信/v1/decisions.回答は信頼度のある確率です。テキストは生成されません。入力トークンのみで請求されます。
別名 EmpirioLabs Aplomb 1
aplomb-1/v1/decisionsPOST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/aplomb-1:generateContentaplombempiriolabs/aplomb-1empiriolabs/aplombEmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。
Aplomb 1 は POST /v1/decisions でコンテンツに関する質問に答えます。コンテンツを state に、質問を questions に入れ、モデル ID aplomb-1 と一緒に送信してください。各回答は生成テキストではなく、確率と信頼度を返します。 EmpirioLabs ダッシュボードで API キーを取得してください。
curl https://api.empiriolabs.ai/v1/decisions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "aplomb-1",
"state": "I was charged twice for my subscription this month. Please refund the duplicate charge today.",
"questions": {
"is_urgent": {"type": "noul", "instructions": "Does the customer need a resolution today?"},
"department": {
"type": "choice",
"instructions": "Which team should handle this message?",
"criteria": {"billing": null, "technical": null, "sales": null}
}
}
}'import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/decisions",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "aplomb-1",
"state": "I was charged twice for my subscription this month. Please refund the duplicate charge today.",
"questions": {
"is_urgent": {"type": "noul", "instructions": "Does the customer need a resolution today?"},
"department": {
"type": "choice",
"instructions": "Which team should handle this message?",
"criteria": {"billing": None, "technical": None, "sales": None},
},
},
},
)
answers = response.json()["answers"]
print(answers["is_urgent"]["noul"], answers["department"]["choice"])EmpirioLabs 上の Aplomb 1 API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。
| パラメータ | タイプ | デフォルト | 範囲 / 値 | 説明 |
|---|---|---|---|---|
| long_context | enum | fast | fast, full | 131,072トークンを超える状態の読み込み方法:速い(デフォルト)回答は秒単位で、フルはすべてのトークンを読みます。短い状態は常に完全に読み込まれます。 |
コンテンツをstate(文字列、JSONオブジェクト、配列)で送信し、1から128の質問をquestionsからPOST /v1/decisionsに送ります。各質問は確率と信頼度値とともに個別に答えられます。テキストは生成されません。Decisions API guideはすべての質問オプションを記録しており、Chat formatsセクションでは/v1/chat/completions、/v1/responses、/v1/messages、Gemini generateContentを通じたリクエストをカバーしています。
noul、choice、あるいはscore問に"abstain": trueを加えることで、モデルはその状態に答えが含まれていないと言います。答えにはabstain、すなわちその結果の確率が含まれ、残りの回答は状態に答えが含まれていると仮定します。
ベンチマークの結果はローンチポストに記載されています。
入力トークンのみ:リクエストごとに1回の状態、各質問のテキスト、各メディアアイテムのトークン。出力は常にゼロです。
EmpirioLabs では Aplomb 1 は従量課金です。このページのライブ料金表は常に API の請求額と一致します。
Aplomb 1 は 1M トークンのコンテキストウィンドウに対応しています。
はい。Aplomb 1 は OpenAI 互換の Chat Completions API を提供しているため、既存の OpenAI SDK は base_url を https://api.empiriolabs.ai/v1 に向けてモデル ID を aplomb-1 に設定するだけで動作します。
はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで Aplomb 1 をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。