binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
https://github.com/binary-husky/gpt_academic/wiki/online
GNU General Public License v3.0
64.41k stars 7.97k forks source link

[Feature]: DeepSeek官网API如何设置? #1776

Open yunzhichen opened 4 months ago

yunzhichen commented 4 months ago

Class | 类型

大语言模型

Feature Request | 功能请求

DeepSeek使用了openAI兼容的API,我在 config 中需改重定向,改为: API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.deepseek.com/chat/completions"} 但是不起作用。不知道具体如何配置?

binaryYuki commented 4 months ago

1765