白云阁

永不言弃。从来没有真正的绝境,只有心灵的迷途。Never really desperate, only the lost of the soul

会编程的吕洞宾的技术笔记。Spring AI、RAG、Kafka、Redis、线上排查,一步一步讲清楚,命令可以直接复制

109 篇 · 从 2014 年写到现在 · 最近更新 2026-11-18

2026-10-10 · AISpring AI 接 Ollama,本地大模型 RAG 实战
shell
# 对话模型,7B 在 16G 内存的机器上能跑
ollama pull qwen2.5:7b

# Embedding 模型,负责把文字转向量
ollama pull nomic-embed-text

# 确认服务起来了,默认监听 11434
ollama serve
接着看完整步骤