利用DeepSeek-V3和 Obsidian 构建个人知识库

通过阅读本篇文章你获得如何收益

按下 Ctrl+Shift+I (Windows/Linux) 或 Cmd+Option+I (Mac) 组合

步骤1

Why integrate Obsidian and DeepSeek?

  • DeepSeek 的网页界面免费访问它,但不断的复制粘贴会扰乱我的工作流程
  • 将 DeepSeek 集成到 Obsidian 中让我能够保持流畅的状态,而不会被任务切换打断
  • 在最新版本中支持:# Add DeepSeek official API provider and support thinking stream #1404

方式1: 通过 SiliconFlow 获取 DeepSeek Model API Key

  1. SiliconFlow 现提供自托管 DeepSeek V3 模型 ,
  2. 注册地址https://cloud.siliconflow.cn/invitation(可以填写我的邀请码 ArHXfLzC)
  3. 安装Obsidian插件:Copilot 版本

image.png

image.png

image.png

第三方工具 openrouter.ai

【依赖工具】

【openrouter】https://openrouter.ai

【简述】
openrouter.ai 涵盖了几乎网上的开源大模型,并且提供很多可免费调用 API 的大模型服务。借助于 copilot for obsidian 插件与 openrouter.ai 可以低成本实现本地 markdown 文件的 AI助手。

【详细使用配置】
https://mp.weixin.qq.com/s/at7K_8lEfVzQJq5qnpzvUg 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

遇到的错误

Q1:配置key是出现

1
2
3
4
5
6
7
8
9
1. API key verification failed:
    
    - Without CORS Error: Cannot read properties of undefined (reading 'message')
        
    - With CORS Error: Cannot read properties of undefined (reading 'message')

API key verification failed: without CORS Error: 402 Insufficient Balance with CORS Error: Request was aborted.

https://github.com/logancyang/obsidian-copilot/issues/1208

Obsidian with Ollama (GUIDE + SETUP)

https://pkmer.cn/Pkmer-Docs/10-obsidian/obsidian%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7/%E5%A6%82%E4%BD%95%E5%9C%A8-obsidian-%E4%B8%AD%E4%BD%BF%E7%94%A8-ai-%E5%A4%A7%E6%A8%A1%E5%9E%8B/

https://eryinote.com/post/1683 https://eryinote.com/post/1683

https://github.com/logancyang/obsidian-copilot/issues/1231 https://eryinote.com/post/1683

https://www.youtube.com/watch?v=tC9wegnRyZk

https://b-r-i-a-n.medium.com/deepseek-meets-obsidian-61a3fe5c6069

https://www.youtube.com/watch?v=tC9wegnRyZk

https://pkmer.cn/Pkmer-Docs/10-obsidian/obsidian%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7/%E5%A6%82%E4%BD%95%E5%9C%A8-obsidian-%E4%B8%AD%E4%BD%BF%E7%94%A8-ai-%E5%A4%A7%E6%A8%A1%E5%9E%8B/