A quick tutorial on how to interact with Open Assistant API and use it in your own Apps. GUI is based on streamlit.
Clone the repository.
git clone https://github.com/PromtEngineer/Chat-App-OpenAssistant-API.gitIn order to set your environment up to run the code here, first install all requirements:
pip install -r requirements.txtYou will need the OpenAI API key to run this, get your HuggingFace key from here
In the .env set your API key.
HUGGINGFACEHUB_API_TOKEN=streamlit run huggingChat.py