This is a training program generator created for the BullsAI company. It makes use of the Assistant API by OpenAI and the OpenAI API. The UI is created using Streamlit.
- Create a ".env" file with the following:
- OPENAI_API_KEY =
- ASSISTANT_ID =
- SENDER_EMAIL =
- SENDER_PASSWORD = (This is a 16-digit code for APP passwords from Google)
- Create a python virtual env:
python -m venv venv
Or:
python3 -m venv venv
- Activate the virtual env:
Windows (Command Prompt):
venv\Scripts\activate
Linux/macOS:
source venv/bin/activate
- Install the requirements.txt
pip install -r requirements.txt
- Run the streamlit application
streamlit run main.py