elephant-1 and mammoth-1 are now available through Baseten Model APIs. Classify text, route requests, and score content against a rubric. Send one or more questions in a single request to get choices, yes/no probabilities, and scores.
Call the System One endpoint with your Baseten API key:
curl https://inference.baseten.co/v1/systemone \
-H "Authorization: Bearer $BASETEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "decision-models/baseten-elephant-9b-latest",
"state": "I was charged twice for my subscription. Please refund the duplicate charge.",
"questions": {
"route": {
"type": "choice",
"instructions": "Which team should handle this request?",
"criteria": {
"billing": "Billing, payments, and refunds",
"technical_support": "Technical troubleshooting"
}
}
}
}'To use mammoth-1, set model to decision-models/baseten-mammoth-27b-latest.
For more information, see our docs.