This project is a study assistant for the Canada Citizenship Test. It uses the OpenAI API to create and manage a study assistant that can help users prepare for the test.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.8 or higher
- pip
- An OpenAI API key
- Clone the repository to your local machine:
git clone https://github.com/moonheelee/canada-citizenship-study-guide.git- Navigate to the project directory:
cd canada-citizenship-study-guide- Install the required Python packages:
pip install -r requirements.txt- Create a
.envfile in the project root and add your OpenAI API key:
echo "OPENAI_API=your_api_key" > .envReplace your_api_key with your actual OpenAI API key.
- Run
create_assistants.pyto create the study assistant:
python create_assistants.py- Run
app.pyto start the application:
streamlit run app.pyThe application is a Streamlit app, so it will start a web server and open your default web browser to display the app.
This project is licensed under the MIT License - see the LICENSE.md file for details.