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

OPENAI_API_BASE支持 #58

Closed
chrischjh opened this issue Apr 26, 2023 · 3 comments
Closed

OPENAI_API_BASE支持 #58

chrischjh opened this issue Apr 26, 2023 · 3 comments
Assignees

Comments

@chrischjh
Copy link

发现gpt类相关的开源工具基本上都没有第一时间支持OPENAI_API_BASE这个配置,但在国内这个基本上是刚需

@Dogtiti
Copy link
Member

Dogtiti commented Apr 26, 2023

收到!今天晚上解决

@Dogtiti Dogtiti self-assigned this Apr 26, 2023
This was referenced Apr 26, 2023
@sunguanghui
Copy link

这个OPENAI_API_BASE,需要怎么填写?

1、OPENAI_API_BASE:https://mydomain/v1
2、OPENAI_API_BASE:https://mydomain
3、OPENAI_API_BASE:https://mydomain/v1/chat/completions

在setup.sh的ENV中,以上3种配置,均添加测试过,都提示"访问OpenAI API出错。请检查您的API密钥或稍后重试。"。

是我配置有问题吗?请指导一下,非常感谢!

@Dogtiti
Copy link
Member

Dogtiti commented May 3, 2023

@sunguanghui 看一下详细教程 里面有deno的教程

@Dogtiti Dogtiti closed this as completed May 3, 2023
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

3 participants