Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

the model that doesn't write: an intro to decision models

说明与用途

决策模型返回数值概率,支持程序化决策,而聊天机器人仅输出文本。

问题

Need a way to get numeric decision outputs (probabilities) from a model for use in code branches, rather than textual chatbot responses.

结果

The workflow demonstrates that decision models provide actionable numeric outputs, enabling automated decision logic and reducing reliance on human review for clear cases.

工作流

  • 1. Define a JSON schema with questions (type: noul, choice, score).
  • 2. Send image and schema to the decision model via a single API call.
  • 3. Receive structured probabilities and confidence for each question.
  • 4. Apply branching logic (e.g., if dog_present < 0.5 reject, if breed confidence > 0.9 auto_tag, else send to human).
  • 5. Render decisions visually with a custom Python function in a Gradio workflow.
  • 6. Deploy the workflow as a single API endpoint using Gradio Client.

证据

you get back a probability for every allowed answer

来源

if answers["dog_present"]["noul"] < 0.5: reject(photo) # 0.98 — skipped

来源

  • 记录日期: 2026-10-13T11:41:18.890Z