LangChain 是流行的 LLM 应用开发框架,支持链式调用、RAG、Agent 等模式。DeerAPI 兼容 OpenAI 接口格式,可直接作为 LangChain 的 API 后端使用。Documentation Index
Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
Use this file to discover all available pages before exploring further.
准备工作
获取 DeerAPI API Key
API 配置
- 方法一:环境变量
- 方法二:代码传参
在系统或
.env 文件中设置:



