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_key?? #428

Open
limumua opened this issue Jul 11, 2023 · 7 comments
Open

无法使用微软的openai_key?? #428

limumua opened this issue Jul 11, 2023 · 7 comments

Comments

@limumua
Copy link

limumua commented Jul 11, 2023

怎么用微软的openaikey呀,各位大哥帮忙看看

@limumua
Copy link
Author

limumua commented Jul 12, 2023

怎么用微软的openaikey呀,各位大哥帮忙看看
@msftgits @ezioruan @bojieli @rupeshs

@rupeshs
Copy link
Contributor

rupeshs commented Jul 16, 2023

@limumua You can get your OpenAI key from https://platform.openai.com/
Please use the API-key in the colab
%env OPENAI_API_KEY=<your_key>
or you can export OPENAI_API_KEY as environment variable.

@ezioruan
Copy link
Contributor

@limumua 你说的是不是 微软azure 的open api key, 如果是这个 他和openapi的还是有点区别的 需要做一些适配

@limumua
Copy link
Author

limumua commented Jul 17, 2023

@limumua 你说的是不是 微软azure 的open api key, 如果是这个 他和openapi的还是有点区别的 需要做一些适配

要怎么做呢

@limumua
Copy link
Author

limumua commented Jul 17, 2023

@limumua You can get your OpenAI key from https://platform.openai.com/ Please use the API-key in the colab %env OPENAI_API_KEY=<your_key> or you can export OPENAI_API_KEY as environment variable.

my internet can not use openaiapi,so i want use azure openai.ToT

@ezioruan
Copy link
Contributor

@limumua 你可以使用代理转换 https://github.com/stulzq/azure-openai-proxy。 或者就是在这个项目的源码里面改下适配了

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

4 participants