Skip to content

CourseMate: A RAG-driven virtual assistant providing personalized academic support through knowledge retrieval and contextual response generation.

Notifications You must be signed in to change notification settings

tanaynayak/ai-agents-final-project

Repository files navigation

CourseMate: Your Personalized Academic Virtual Assistant

CourseMate is a Retrieval-Augmented Generation (RAG)-driven virtual assistant designed to provide personalized academic support through efficient knowledge retrieval and contextual response generation.

Table of Contents

Features

  • Personalized Support: Tailors responses to individual academic queries.
  • Knowledge Retrieval: Utilizes advanced models to fetch relevant information.
  • Contextual Responses: Generates answers that are contextually appropriate to your questions.
  • Easy Integration: Simple setup process to get you started quickly.

Prerequisites

  • macOS
  • Ollama installed
  • Python 3.x
  • pip

Installation

  1. Install Ollama for macOS

    Download and install Ollama from here.

  2. Download Required Models

    Open your terminal and run:

    ollama pull nomic-embed-text
    ollama pull mistral
  3. Install Python Dependencies

    pip install -r requirements.txt

Usage

  1. Create The Database

    Initialize the knowledge database by running:

    python create_database.py
  2. Run Queries

    python run_query.py 'Your question here'

    Example

    python run_query.py 'What does Cartesian Theater Mean?'
    Response:  According to the provided context, Cartesian Theater refers to the perceived notion that there is a place in the mind or brain where everything comes together and consciousness happens. This idea suggests that some things are 'in' the theater or stream of consciousness while others are not. However, philosopher Daniel Dennett argues that this concept, often referred to as the Cartesian theatre, does not exist as it fails to explain how objective brain activity can give rise to a stream of conscious experiences.                                                                         
    
    Sources: ['data/(Very Short Introductions) Susan Blackmore - Consciousness_ A Very Short Introduction-Oxford Uni.pdf:25:0', 'data/(Very Short Introduc
    tions) Susan Blackmore - Consciousness_ A Very Short Introduction-Oxford Uni.pdf:57:1', 'data/(Very Short Introductions) Susan Blackmore - Consciousne
    ss_ A Very Short Introduction-Oxford Uni.pdf:24:1', 'data/(Very Short Introductions) Susan Blackmore - Consciousness_ A Very Short Introduction-Oxford
     Uni.pdf:26:0', 'data/document_98.pdf:3:1']     

About

CourseMate: A RAG-driven virtual assistant providing personalized academic support through knowledge retrieval and contextual response generation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages