关于AIChat接入Azure Openai API的配置说明

部署前提:你已经拥有 Azure Openai Api 权限
AIChat pro版本为:0.11

1、在azure ai 控制台中,自行部署模型后在聊天界面查看代码

2、获取终结点中的地址

3、分别将终结点中的地址拆分为两部分

https://aichat-jp.openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2023-07-01-preview

第一部分为:(用于Ai平台BASE_URL)

https://aichat-jp.openai.azure.com/openai/deployments

第二部分为:(用于Ai 模型模型PATH)

/gpt-35-turbo/chat/completions?api-version=2023-07-01-preview

image

其他模型添加方式以上述3.5一样