/openai-chatbot

A conversational chatbot built in Python using Streamlit and the OpenAI LLM models

Primary LanguagePython

CI/CD Pipeline

  • 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

Forked from this project


🤖💬 OpenAI Chatbot

A conversational chatbot built in Python using Streamlit and the OpenAI LLM model GPT 3.5.

Demo App

Streamlit App

Prerequisite libraries

streamlit
openai

Get an OpenAI API key

You can get your own OpenAI API key by following the following instructions:

  1. Go to https://platform.openai.com/account/api-keys.
  2. Click on the + Create new secret key button.
  3. Next, enter an identifier name (optional) and click on the Create secret key button.

Further Reading