Skip to content

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

@kongdayan

Description

@kongdayan

功能改善建议 🚀

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

您的建议是什么? 🤔

目前版本的代码中 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的配置读取

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

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

感谢您的分享和支持!🙏

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions