{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "rizzo-ai-academy-rizzo-flow--local-typed-decisions-api",
 "repo": "Rizzo-AI-Academy/rizzo-flow",
 "repo_url": "https://github.com/Rizzo-AI-Academy/rizzo-flow",
 "repo_slug": "rizzo-ai-academy-rizzo-flow",
 "title": "Get typed LLM decisions from text on your own machine",
 "page_title": "How to get typed LLM decisions from text on your own machine with Rizzo Flow",
 "summary": "Run a local decision API and get yes/no, choice and score answers as JSON with probabilities.",
 "who": "A developer who wants an LLM to classify or score messages, tickets or records, and does not want the data to leave their machine.",
 "problem": "LLM answers are free text that must be parsed, and hosted decision APIs send your data to a third party.",
 "outcome": "A running local server at http://127.0.0.1:8017 that returns typed decisions with probabilities for any state you send.",
 "steps": [
  "Install Python 3.11 or newer, git and uv.",
  "Run `git clone https://github.com/Rizzo-AI-Academy/rizzo-flow && cd rizzo-flow`",
  "Run `uv sync --locked`",
  "Run `uv run rizzo download` and wait for the model and runtime to finish.",
  "Run `uv run rizzo serve`, then open http://127.0.0.1:8017/playground to try a state with questions.",
  "Send the curl example from the Quickstart to http://127.0.0.1:8017/v1/systemone with your own state and questions."
 ],
 "agent_prompt": "In the rizzo-flow repo, start the server with `uv run rizzo serve`, then POST a JSON body with the state from <path-to-text-file> and one yes/no question to http://127.0.0.1:8017/v1/systemone using model rizzo-latest. Return the typed decision and its probabilities. Verify that the response contains a probability for each option.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Probabilities are uncalibrated unless you calibrate them on your own data, and the fine-tuned model is still below TypeSafe Jev in accuracy (0.648 against 0.727 on the typed-decisions benchmark in the README).",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "git",
  "uv (https://docs.astral.sh/uv/)",
  "About 4.4 GB of free disk space for the default 4B model, plus the llama.cpp runtime (about 11 MB on a Mac, 30 MB with Vulkan, about 570 MB with CUDA)",
  "A machine that can run llama.cpp: an Apple, NVIDIA, AMD or Intel GPU, or no GPU at all"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/rizzo-ai-academy-rizzo-flow/local-typed-decisions-api/",
 "md": "https://dedupedai.com/use-cases/rizzo-ai-academy-rizzo-flow/local-typed-decisions-api/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/rizzo-ai-academy-rizzo-flow--local-typed-decisions-api.json",
 "api_version": "v1"
}
