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

🚀 功能改善 增加AzureApiUrl作为变量进行配置 #262

Open
kongdayan opened this issue Aug 29, 2023 · 1 comment
Open

🚀 功能改善 增加AzureApiUrl作为变量进行配置 #262

kongdayan opened this issue Aug 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kongdayan
Copy link

功能改善建议 🚀

欢迎在此分享您对功能的改善建议,我们期待听到您的想法和建议。

您的建议是什么? 🤔

目前版本的代码中 https://github.com/ConnectAI-E/Feishu-OpenAI/blob/master/code/services/openai/common.go#L22
将AzureApiUrl 固定为 openai.azure.com/openai/deployments/
但部分学校已有独立的API接口 ,例如 HKUST 的 https://hkust.azure-api.net/openai/deployments/,参考文档
无法在docker-compose.yaml中配置AZURE_RESOURCE_NAME和现有代码中AzureApiUrl组成目标接口
因此建议在docker-compose.yaml中提供对AzureApiUrl的配置,并在config的部分增下AzureApiIrl的配置读取

请简要描述您的功能改善建议,包括您的目标和想法。

如果您的建议是解决某个特定问题的,请尽可能提供更多的上下文和细节。

感谢您的分享和支持!🙏

@kongdayan kongdayan added the enhancement New feature or request label Aug 29, 2023
@Leizhenpeng
Copy link
Member

你们大学这思路真不错hh

@Leizhenpeng Leizhenpeng self-assigned this Aug 29, 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

2 participants