-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大佬, 请问什么时候能接入 DeepSeek? #1955
Comments
接口和openai的一样,把对应的api和url修改一下就行,openai模块里面的__init__.py |
同问,我修改了以下三个地方 |
No module named 'openai',没装模块,init.py是openai模块的文件,这个文件在python模块包里面 |
init 里面api 和 url 设置完还是报错了, : Start auto replying. |
"open_ai_api_base":"https://api.deepseek.com/v1" ---> "open_ai_api_base":"https://api.deepseek.com" |
init.py里试了也不行. Path of a file with an API key, whose contents can change. Supercedes
|
compose里面加上 |
按照下面修改填写即可使用
|
可以了, 非常感谢大佬! 很奇怪为什么 docker部署启动可以, 但 app.py运行就不行...config都是按照 deepseek官方指导的去配置的. |
总结
真的好便宜啊~ 测试了一段时间 感觉回复的质量也还行
举例
动机
这个API巨便宜, 而且感觉他们的大模型做的也挺好的.
The text was updated successfully, but these errors were encountered: