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

Support azure openai API #135

Open
wangnan229 opened this issue Jul 12, 2023 · 5 comments
Open

Support azure openai API #135

wangnan229 opened this issue Jul 12, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@wangnan229
Copy link

wangnan229 commented Jul 12, 2023

Is your feature request related to a problem?

azure 的openai的模型,跟原生的openai的模型参数基本一致的,我尝试修改了下 src/utils/model.ts,发现不好使,可能还是少了api_type和api_version两个参数
图片

请大神看看能否修改代码以支持。

Describe the solution you'd like

通过修改源码,支持azure openai

Additional context

No response

@wangnan229 wangnan229 added the enhancement New feature or request label Jul 12, 2023
@tianzhou tianzhou changed the title 能支持azure openai gpt35的接口吗,node这块不太熟,看不太懂代码 support azure openai API Jul 12, 2023
@wangnan229
Copy link
Author

@tianzhou 大佬,不小心把key贴上了,能删除图片吗

@tianzhou
Copy link
Contributor

Deleted

@wangnan229
Copy link
Author

Deleted

thanks

@codewen77
Copy link

Deleted

请问目前能支持支持 azure openai API吗

@codewen77
Copy link

Is your feature request related to a problem?

azure 的openai的模型,跟原生的openai的模型参数基本一致的,我尝试修改了下 src/utils/model.ts,发现不好使,可能还是少了api_type和api_version两个参数 图片

请大神看看能否修改代码以支持。

Describe the solution you'd like

通过修改源码,支持azure openai

Additional context

No response

大佬 你解决了吗——支持 azure openai API

@tianzhou tianzhou changed the title support azure openai API Support azure openai API Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants