EmpirioLabs에서 제공하는 의사결정 모델 모델을 둘러보고 종량제 요금의 단일 API로 호출하세요.
Aplomb 1은(는) POST /v1/decisions로 콘텐츠에 관한 질문에 답합니다. 콘텐츠는 state에, 질문은 questions에 담아 모델 ID aplomb-1와 함께 보내세요. 각 답변은 생성된 텍스트 대신 확률과 신뢰도 값을 반환합니다. model ID를 위의 아무 모델로나 바꿀 수 있습니다. 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}
}
}
}'EmpirioLabs에는 2 의사결정 모델 모델 API이(가) 있습니다 (Aplomb 1, Aplomb 1 Omni 포함). 각 모델에는 실시간 요금, 파라미터, 퀵스타트가 있는 전용 API 페이지가 있습니다.
모든 의사결정 모델 모델은 월 최소 요금 없이 종량제로 청구됩니다. 정확한 요금표는 각 모델 페이지에 있으며 항상 API 청구 금액과 일치합니다.
아니요. 여기 있는 모든 모델은 EmpirioLabs 플레이그라운드에서 실행됩니다. 코드를 작성하지 않고 옵션을 설정하고 결과를 볼 수 있는 친근한 브라우저 인터페이스입니다. 자동화가 필요해지면 같은 모델을 API로 사용할 수 있습니다.