Semua model

Decisions

openai/decisions
OpenAI

Mulai cepat

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "openai/decisions",
    "input": "<value>",
    "questions": ["https://example.com/input.jpg"]
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "openai/decisions", "input": "<value>", "questions": ["https://example.com/input.jpg"]}'

Parameter

Input
input wajib

The evidence to judge: a string, or [{ role: "user", content: [{ type: "input_text", text } | { type: "input_image", image_url: "data:image/…" }] }]. Billed per input token; each image counts as 10k tokens.

questions array wajib

Up to 200 questions: [{ name, type: "predicate", instructions } | { name, type: "choice", instructions, choices: [{ value, description }] } | { name, type: "score", instructions, levels: [{ label, description }] }]. Answers come back as probabilities, a choice, or a level.

prompt_cache_key string opsional
prompt_cache_options object opsional
safety_identifier string opsional
Keluaran