Skip to content
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

如何用开源大模型替换ChatGPT?具体怎么修改? #118

Open
cristianohello opened this issue Mar 7, 2024 · 2 comments
Open

Comments

@cristianohello
Copy link

如何用开源大模型替换ChatGPT?具体怎么修改?

@tommy-zhou
Copy link

如何用开源大模型替换ChatGPT?具体怎么修改?

#LLM/AWS config
OPENAI_API_KEY=
#ADDED for your OpenAI LLM
OPENAI_API_BASE=
如上可以在环境变量文件.env中配置OpenAI_API_BASE,就可以了。对了为了兼容其他大模型,可以使用ONE API开源项目

@tommy-zhou
Copy link

【(万能接口可以连接所有大模型)运行演示-OpenAI接口管理与分发开源应用OneAPI】 https://b23.tv/E77aUCU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants