Clarity Ollama - Local Precision Mode
Overview
Uses local Ollama + Qwen 0.5B model for intelligent intent recognition and precision transformation.
Requirements
- Ollama installed and running
- Qwen 0.5B model downloaded
Activation
Trigger: "开启精准模式" / "enable local mode" / "本地精准"
Deactivate: "关闭精准模式" / "disable local mode"
Features
- 🤖 Local LLM - No cloud, complete privacy
- ⚡ Fast - Local inference, millisecond response
- 🔒 Private - All processing on your machine
- 🎯 Smart - Qwen 0.5B optimized for Chinese
Setup
# Install Ollama
brew install ollama
# Download model (394MB)
ollama pull qwen:0.5b
# Start Ollama service
brew services start ollama
Output Example
Input: Python的for循环为什么运行慢
Output:
## 🎯 精准化指令 (Ollama AI)
**📌 意图:** performance
**💻 语言:** Python
**🎯 关注点:** 循环结构
**🎯 目标:** 分析for循环运行慢的原因
**💡 为了更精准地帮助你,请提供:**
- 当前性能指标
- 目标性能
Technical Details
| Item | Detail |
|---|---|
| Model | Qwen 0.5B |
| Size | 394 MB |
| Context | 2048 tokens |
| Platform | macOS/Linux |
Troubleshooting
# Check if Ollama is running
ps aux | grep ollama
# Start Ollama manually
ollama serve
# Test model
ollama run qwen:0.5b "你好"
