AI League-Coach
AI League-Coach
League Coach 以 Python 規則引擎比較《英雄聯盟》玩家的比賽數據與角色基準,再由本機 LLM 制定訓練計劃。工具預設使用 Ollama 執行開放權重模型 Llama 3.1 8B,亦支援 Qwen 2.5 等模型;沒有模型運行時,仍可提供規則分析。所有數據留在用戶裝置上,無須 API 金鑰或受速率限制。
Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission 💸
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle
What I Built
League Coach is a stats-driven coach for League of Legends. You give it match stats (CS, deaths, vision, KDA, win/loss per game). It compares them to role benchmarks, finds your biggest gaps, and a local LLM turns them into a short coaching plan: your biggest problem, three drills for your next five games, and one thing you do well.
Who would pay: ranked grinders stuck in a rank who can't afford human coaching ($20-50/hour), and small coaches or Discord communities who want to triage students' stats before a session. Possible pricing: a free CLI, then a paid hosted version with Riot API auto-import and a weekly progress report.
Demo
Code
this is completely ai generated, I just wanted the sticker I am sorry :( it's supposed to be a league coach, at least I hope it works well
How I Built It
- Rules engine (pure Python, stdlib only): groups games by role and computes CS/min, vision/min, deaths in wins vs losses, and KDA. It ranks gaps against editable role benchmarks. The numbers come from code, not the model, so the LLM can't make up your stats.
-
Open-weight LLM via Ollama: the flagged gaps go to a local model (Llama 3.1 8B by default; Qwen 2.5 and others work via
--model), which writes the coaching under a strict "use only these numbers" system prompt. - Graceful fallback: if no model is running, you still get the rules-based findings.
Why Does Open Innovation Matter?
A coach is only useful if you run it after every session, so cost per run matters. With open weights it's free to run locally with no API key or rate limits. Your match history stays on your machine. And anyone can swap in a better model or edit the benchmarks for their own role, patch, or game, which a closed API wouldn't let me promise users.
來源:DEV Community · dev.to