Skip to content

Simple streamlit based app, hosted on Azure, utilizing Azure OpenAI

License

Notifications You must be signed in to change notification settings

ian-t-adams/aoai-streamlit-app

Repository files navigation

aoai-streamlit-app

Azure hosted Streamlit App centered around Azure OpenAI Service LLM's

Note: Borrowed heavily from my colleague Kirk's repo As well as from the Microsoft OpenAI Workshop content

To run quickly

  1. Clone this repo

  2. Create a .env in the main folder file and add in the following parameters:

     APIM_ENDPOINT={whatever your openai endpoint is}
    
     APIM_KEY={your Azure OpenAI Key}
    
     AOAI_API_VERSION=2023-12-01-preview
    
  3. Install the necessary Python dependencies

  4. Run:

    streamlit run C:{path\to\aoai-streamlit-app\repo}\aoai_streamlit_app.py

  5. Enjoy

Things to add or do

  1. Persistent stateliness - Cosmos?
  2. Prompt Flow tracking? Prompt versioning - Delta lake?
  3. Rate responses / Human-in-the-loop / feedback loop
  4. ???

About

Simple streamlit based app, hosted on Azure, utilizing Azure OpenAI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published