Skip to content

moonheelee/canada-citizenship-study-guide

Repository files navigation

Canada Citizenship Study Guide

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.8 or higher
  • pip
  • An OpenAI API key

Installing

  1. Clone the repository to your local machine:
git clone https://github.com/moonheelee/canada-citizenship-study-guide.git
  1. Navigate to the project directory:
cd canada-citizenship-study-guide
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Create a .env file in the project root and add your OpenAI API key:
echo "OPENAI_API=your_api_key" > .env

Replace your_api_key with your actual OpenAI API key.

Usage

  1. Run create_assistants.py to create the study assistant:
python create_assistants.py
  1. Run app.py to start the application:
streamlit run app.py

The application is a Streamlit app, so it will start a web server and open your default web browser to display the app.

Built With

Slide for Demo

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Guiding through Canadian Citizenship Study

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages