This repository contains an implementation of a user interface (UI) for Azure Machine Learning Prompt Flow deployments. The chat interface is developed using Streamlit.
This was primarily developed for Microsoft's "Chat with Wiki" demo but can be adapted as needed based on the input/output schema of your Prompt Flow implementation.
- Clone the repository:
git clone https://github.com/shah-zeb-naveed/prompt-flow-ui
- Install streamlit python package
pip install streamlit
. - Create a
.env
file and add your Azure Prompt Flow deployment key as: AZURE_ENDPOINT_KEY=ENTER_YOUR_KEY - Run the Streamlit app using
streamlit run app.py
.
- Microsoft for providing code for querying the endpoint.
- Streamlit for it's chat elements and session state features.
This is an unofficial implementation and is not supported by Microsoft.
Please star this repo if you found this helpful. Thanks.