DeepSeek + Dify 部署本地大模型知识库
1 ollama
- github地址: https://github.com/ollama/ollama
-
app下载地址:
-
运行DeepSeek: https://ollama.com/library/deepseek-r1
1 2
## 运行 deepseek-r1:7b ollama run deepseek-r1:7b
2 dify
- github地址: https://github.com/langgenius/dify
- 安装dify
1
2
3
4
cd dify
cd docker
cp .env.example .env
docker compose up -d
- 配置
- 打开:http://localhost/install
- 配置:http://host.docker.internal:11434