CogitoNTNU / TutorAI

TutorAI is a RAG system capable of assisting with learning academic subjects and using the curriculum and citing it. The project revolves around building an application that ingests a textbook in most formats and facilitates efficient learning of the course material.
MIT License
16 stars 7 forks source link
docker finetuning function-calling gpt ocr openai python react-typescript retrieval-augmented-generation

TutorAI

![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/SverreNystad/TutorAI/django.yml) ![GitHub top language](https://img.shields.io/github/languages/top/SverreNystad/TutorAI) ![GitHub language count](https://img.shields.io/github/languages/count/SverreNystad/TutorAI) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Project Version](https://img.shields.io/badge/version-1.0.0-blue)](https://img.shields.io/badge/version-1.0.0-blue) Cogito Image
πŸ“‹ Table of contents - [TutorAI](#tutorai) - [Introduction](#introduction) - [Features](#features) - [Quick Start](#quick-start) - [Prerequisites](#prerequisites) - [Clone the repository](#clone-the-repository) - [Configuration](#configuration) - [Usage](#usage) - [πŸ“– Documentations](#-documentations) - [Contributors](#contributors) - [License](#license)

Introduction

TutorAI is an interactive language agent designed to assist with learning academic subjects. It facilitates efficient learning by allowing users to upload textbooks in various formats and interact with the course material.

Features

TutorAI offers a comprehensive set of features to enhance the learning experience:

Quick Start

Prerequisites

Clone the repository

git clone https://github.com/CogitoNTNU/TutorAI.git
cd TutorAI

Configuration

Create a .env file in the root directory of the project and add the following environment variables:

OPENAI_API_KEY = 'your_openai_api_key'
MONGODB_URI = 'your_secret_key'

Optionally, you can add the following environment variables to customize the project:

GPT_MODEL = 'gpt-3.5-turbo' # OpenAI model to use

Usage

To start TutorAI, run the following command in the root directory of the project:

docker compose up --build

Then navigate to http://localhost:3000 in your browser to access the UI of the frontend.

To access the backend, navigate to http://localhost:8000 in your browser.

πŸ“– Documentations

Contributors


Henrik Halvorsen Kvamme

Kaamya Shinde
Kristoffer Nohr Olaisen
Kristoffer Nohr Olaisen
Olav Selnes Lorentzen
Olav Selnes Lorentzen

Parleen Brar

Simon Sandvik Lee

Skage Reistad

Sverre Nystad

Tobias Fremming

This project would not have been possible without the hard work and dedication of all of the contributors. Thank you for the time and effort you have put into making TutorAI a reality.

Cogito Team Image

License

Licensed under the MIT License.