Managed ID Version is here

Simple ChatGPT client

It is a Python application that serves as the frontend for Azure Open AI's ChatGPT. It is assumed to be deployed on Azure App Service.

image

1. Deploy App Service

Deploy Python Stack Web Apps

2.Deploy this application

Web Apps > Deployment Center > Setting

image

And click Save button.

3.Set startup command

Web Apps > Configuration > General settings > Startup Command

python -m streamlit run app.py --server.port 8000 --server.address 0.0.0.0

image

And click Save button.

4. Set Enviroment variables

Web Apps > Configuration > Application settings

  • OPENAI_API_ENDPOINT : Your Azure Open AI API endpoint URL
  • OPENAI_API_KEY : Your Azure Open AI API key
  • OPENAI_API_VERSION : API Vearsion (2023-03-15-preview)
  • OPENAI_ENGINE : The model name you deployed

image

And click Save button.

Access and Enjoy your private ChatGPT!

If you want to set up authentication to client app, Please refer to following document. https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service