Docs
Get an API key

Clef Flash clef-flash

Fast joint decision model that returns answer probabilities for every question in a single read.

From the live catalog
View .md
Tokens
$0.05 / 1M tokens
Context
256K tokens
region ATL quantization bf16 Hugging Face Cloudflare/clef-flash

Inputs

InputAccepts
text
context 256K tokens

Parameters

ParameterTypeValuesDefault
question_typestringnoul, choice, score

Endpoints

A request

curl https://api.vultrinference.com/v1/systemone \
  -H "Authorization: Bearer $VULTR_INFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "clef-flash",
    "state": {
      "ticket": "Everything is down and we have a demo at noon."
    },
    "questions": {
      "urgent": {
        "type": "noul",
        "instructions": "Does the customer need a reply within the hour?"
      },
      "department": {
        "type": "choice",
        "instructions": "Which team should handle this?",
        "criteria": {
          "billing": "invoices, payments, refunds",
          "technical": "bugs, outages, errors"
        }
      },
      "frustration": {
        "type": "score",
        "instructions": "How frustrated is the customer?",
        "criteria": [
          "Calm",
          "Frustrated",
          "Very angry"
        ]
      }
    }
  }'