Thanks to visit codestin.com
Credit goes to github.com

Skip to content

07JP27/az_km_aoai_chatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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_VERSION : API Version (2024-10-21)
  • OPENAI_DEPLOYMENT : 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/azure/app-service/scenario-secure-app-authentication-app-service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages