- Prepare your environment:
git clone https://github.com/JAlcocerT/openai-chatbot
python -m venv openaichatbot #create it
openaichatbot\Scripts\activate #activate venv (windows)
source openaichatbot/bin/activate #(linux)
#deactivate #when you are done
- Run the App:
#pip install -r requirements.txt #all at once
streamlit run streamlit_app.py
- Use your OpenAI API: https://platform.openai.com/docs/models/continuous-model-upgrades
Forked from this project
A conversational chatbot built in Python using Streamlit and the OpenAI LLM model GPT 3.5.
streamlit
openai
You can get your own OpenAI API key by following the following instructions:
- Go to https://platform.openai.com/account/api-keys.
- Click on the
+ Create new secret key
button. - Next, enter an identifier name (optional) and click on the
Create secret key
button.