This is a Power Platform custom connector project for OpenAI API and Azure OpenAI Service API.
For local development on various OS, please refer to this document downloading ffmpeg.
-
Fork this repository to your account.
-
To provision resources, run the commands in the following order:
# PowerShell $AZURE_ENV_NAME = "pp$(Get-Random -Max 9999)" $GITHUB_USERNAME = "{{GITHUB_USERNAME}}" # Bash AZURE_ENV_NAME="pp$RANDOM" GITHUB_USERNAME="{{GITHUB_USERNAME}}"
azd auth login azd init -e $AZURE_ENV_NAME azd env set GITHUB_USERNAME $GITHUB_USERNAME azd env set GITHUB_REPOSITORY_NAME azure-openai-connector azd up
-
To deploy apps, run the commands in the following order:
gh auth login azd pipeline config gh workflow run "Azure Dev" --repo $GITHUB_USERNAME/azure-openai-connector
- Import
https://github.com/devrel-kr/openai-connector/blob/main/infra/swagger-aoai.json
- Create a connection