Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 3.29 KB

README.md

File metadata and controls

96 lines (68 loc) · 3.29 KB

Contributors LinkedIn

Outliner Discord Bot


About The Project

Outliner is a discord bot that answers questions from BCIT course outlines using OpenAI answer API. BCIT students are known to have immense workloads and may not always have time to manually check course outlines. To solve this problem, our team built Outliner to help students be better informed while saving time.

Developed in a day for nwHacks 2021.

(back to top)

Video Demo

https://youtu.be/D7p9ACDbYbA

(back to top)

Built With

(back to top)

Logic and Usage:

The bot must be provided with a list of links for the course outlines, and then initialized before being used. Initializing the bot will run the scraper module which scrapes the web pages of the course outlines for useful data. The data is then converted in to a text file which then goes to the ai_answers module, where the OpenAI works on the collected data and provides suitable answers to the questions. Finally, the discord bot uses a user interface to ask and answer the questions.

(back to top)

Getting Started:

$upload

Upload the lines after the command and store them in links.txt to be used for scraping.

For example:

>>> $upload
    https://www.bcit.ca/outlines/20221086158/
    https://www.bcit.ca/outlines/20221086157/
    https://www.bcit.ca/outlines/20221086155/
  
Links uploaded successfully!

$init

Initialize the bot by scraping the URLs provided in links.txt. For example:

>>> $init
Content generated successfully!

$ask

Ask the OpenAI API a question. For example:

>>> $ask How much is the midterm for procedural programmming worth?

25%

(back to top)

Contact:

Christie Tsang - LinkedIn

Belal Kourkmas - LinkedIn

Sepehr Zohoori Rad - LinkedIn

Aditya Singh Attri - LinkedIn

Project Link: https://github.com/christietsang/OutlinerBot.git

(back to top)