Pular para o conteúdo
Jev | typesafeAPI & Playground
…

Use Cases / image-presence-gate

Jev Image Presence Gate (beta)

Entradas de imagem e perguntas Box são beta e dreamer-ready, não recomendadas para produção. Às vezes você só precisa de sim/não: um badge, logo ou aviso está visível — não um bounding box completo.

Try a related template free on this host — 5 anonymous real-API runs with no signup — then ship the same schema with a prepaid jv_live_ key. See is Jev free? and playground.

Why Jev

Anexe assets de imagem e faça um noul (ou choice) sobre a imagem. Você obtém uma probabilidade calibrada que o código limiariza — ainda multimodalidade experimental, não substituto de classificadores treinados.

How to define the decision

assets.frame = { type: "image", format: "png", data_base64: "…" }. questions.visible = { type: "noul", instructions: "Is a warning badge visible in frame?" }. Opcionalmente adicione uma pergunta box no mesmo asset.

When to use Jev

  • Prototipar gates “X está visível?”
  • Emparelhar um Noul de presença com uma pergunta box de follow-up
  • Harnesses de eval texto-only vs perguntas aumentadas com imagem

When not to use Jev

  • Allow/block crítico de segurança em produção
  • Taxonomia multi-rótulo fina em escala
  • Streams de vídeo

Failure modes and human fallback

  • Upstream or network errors: retry with backoff; do not invent a decision.
  • Low confidence: route to a human queue or safer default — never auto-act on money/destructive tools.
  • Schema drift: keep a golden fixture set in CI so label changes fail the build before production.
  • Oficial: entradas de imagem e perguntas Box são beta e dreamer-ready, não recomendadas para produção.
  • Tokens de imagem ainda medem como input ao chamar a API live.
  • Prefira classificadores de visão dedicados para detecção de presença em produção.

API example

Same prepaid jv_live_ balance as tools. Output tokens are free on this host's metering model.

curl
curl https://jevtypesafe.org/api/v1/decide \
  -H "Authorization: Bearer jv_live_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{"state":"Customer: I've been waiting five days for my refund.","questions":{"action":{"type":"choice","instructions":"Decide the next step","criteria":{"allow":"safe","review":"unsure","block":"unsafe"}}}}'

FAQ

É mais seguro que box para produção?
Não. Entradas de imagem (e Box) continuam beta e dreamer-ready — também não recomendadas para produção.
Posso combinar noul e box?
Sim — a mesma chamada decide pode incluir os dois tipos de pergunta sobre assets compartilhados. Ainda experimental.

Related use cases

Ready to build?

Free anonymous tool runs, then prepaid packs and a jv_live_ key — independent host, not affiliated with TypeSafe AI.

Jev Image Presence Gate (beta) | Noul + Assets de imagem