跳到正文
ollama release(github.com)· github-actions[bot]·· 2026-09-30品質評分60

Ollama v0.35.0 版本更新

v0.35.0

重點導讀

**Ollama 發布 v0.35.0 版本,新增決策模型 API,支援結構化輸出,提升工作流程自動化。

- 決策模型功能**:透過 /v1/systemone 端點,模型如 Nimble、Tev1 可回傳選項、機率與分數,適用於工單分類、模型路由等。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文 · 原文

Decision models

Ollama now supports decision models through /v1/systemone, based on TypeSafe’s Jev API.

Decision models return choices, probabilities, and scores instead of text. Use them for tasks such as ticket triage, model routing, and content classification.

Available models:

ollama pull nimble

Send context and one or more questions:

curl http://localhost:11434/v1/systemone \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "nimble",
    "state": "Our checkout has returned 500 errors since 9am.",
    "questions": {
      "label": {
        "type": "choice",
        "instructions": "Which label fits this ticket?",
        "criteria": {
          "billing": "Payments and refunds",
          "bug": "Software errors",
          "account": "Login and account access"
        }
      }
    }
  }'

Example response:

{
  "model": "nimble",
  "answers": {
    "label": {
      "type": "choice",
      "choice": "bug",
      "probabilities": {
        "billing": 0.0125,
        "bug": 0.9781,
        "account": 0.0093
      },
      "confidence": 0.8906
    }
  },
  "usage": {
    "input_tokens": 174,
    "output_tokens": 1
  }
}

The API supports three question types:

  • choice: Select an option and return probabilities for each.
  • noul: Return the probability that a condition is true.
  • score: Return a score across an ordered set of criteria

What's Changed

  • Settings now opens without waiting for model discovery.
  • Fixed the macOS update menu and icon not reflecting an available update at startup.
  • Fixed stalled MLX model downloads hanging indefinitely.
  • Requests containing the deprecated typical_p parameter now log a warning instead of failing.

Full Changelog: v0.34.4...v0.35.0

來源: ollama release (github.com)
開啟原文

讀者討論

理性交流 · 即時討論