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

azure support #261

Merged
merged 2 commits into from
Apr 29, 2023
Merged

azure support #261

merged 2 commits into from
Apr 29, 2023

Conversation

swuecho
Copy link
Owner

@swuecho swuecho commented Apr 29, 2023

No description provided.

@swuecho
Copy link
Owner Author

swuecho commented Apr 29, 2023

TeamFan 添加一个环境变量 AZURE_RESOURCE_NAME

就是这里面的https://github.com/haibbo/cf-openai-azure-proxy/blob/main/cf-openai-azure-proxy.js RESROUCE NAME

@swuecho
Copy link
Owner Author

swuecho commented Apr 29, 2023

image

url 你在上面管理页面替换就行, url 类似这种 https://docs-test-001.openai.azure.com/

环境变量 OPENAI_API_KEY=你的token
AZURE_RESOURCE_NAME=你的resource name

@swuecho swuecho merged commit 2859aa5 into master Apr 29, 2023
@swuecho
Copy link
Owner Author

swuecho commented May 21, 2023

239690361-bd663307-b857-4ecc-960e-ca5e6f8f6a31

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

Successfully merging this pull request may close these issues.

None yet

1 participant