
テキスト、JSON、画像、動画に関する「はい」か「いいえ」「選択肢」「スコア」「ツールの質問」に、キャリブレーション済みの確率で一つのリクエストで答えられます。
テキスト、JSON、画像、動画に関する「はい」か「いいえ」「選択肢」「スコア」「ツールの質問」に、キャリブレーション済みの確率で一つのリクエストで答えられます。
状態と入力された質問をPOSTに送信/v1/decisions.回答は信頼度のある確率です。テキストは生成されません。入力トークンのみで請求されます。
別名 EmpirioLabs Aplomb 1
aplomb-1/v1/decisionsempiriolabs/aplomb-1decide-1empiriolabs/decide-1EmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。
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"])リクエスト state(文字列、JSONオブジェクト、配列)でコンテンツを送信し、1から128の質問をquestionsからPOST /v1/decisionsに送ります。各質問は確率と信頼値で個別に答えられます。テキストは生成されません。質問タイプ- noul:はいかいいえ、はいの確率で答えられます。- choice:2から255の選択肢のいずれかで、選択した選択肢と完全な分布で答えます。- score:2から10の順序付けられたレベルで、期待レベルと分布で答えられます。- tool:1から254の関数ツールの中、どの関数ツールを呼び出し、その列挙やブール引数の分布を選びます。制限- 状態と最長の問題:最大60,000トークン。- 1リクエストあたり最大512の評価質問。ツール質問は1枚加1枚のエナックまたはブール値の引数としてカウントされます。- メディア:最大16枚の画像(各20MB)と4本の動画(100MBおよび10分)で、公開HTTPSURLまたはインラインbase64として提供。音声は受け付けません。Aplomb 1 Omniを使用してください。請求 入力トークンのみ:リクエストごとに状態、各質問のテキスト、各メディアアイテムのトークンのみ。出力は常にゼロです。
EmpirioLabs では Aplomb 1 は従量課金です。このページのライブ料金表は常に API の請求額と一致します。
Aplomb 1 は 60K トークンのコンテキストウィンドウに対応しています。
Aplomb 1 は api.empiriolabs.ai 上の POST /v1/decisions で提供され、標準的な Bearer トークン認証を使用します。
はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで Aplomb 1 をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。