Skip to content

SkyAerope/Az2OpenAI

Repository files navigation

Az2OpenAI

使Azure AI接口适配Openai的接口,使用Azure函数

接口地址https:/<sitename>.azurewebsites.net/api/v1/chat/completions

如何使用?

先决条件:拥有Azure订阅

  1. 新建一个函数应用

    image

    参数 推荐
    运行时堆栈 Node.js
    版本 20 LTS
    操作系统 Linux
  2. 部署完成后,在部署中心填入本仓库

  3. 如果部署失败,可以尝试添加环境变量WEBSITE_RUN_FROM_PACKAGE = 1,参考stackoverflow

About

使Azure AI接口适配Openai的接口,使用Azure函数

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •