Skip to content

Alterau/Studybara

Repository files navigation

BaraBuddy

Study Buddy AI(BaraBuddy)

An AI-powered study assistant that helps students manage their learning through smart scheduling, progress tracking, and interactive flashcards.

📚 BaraBuddy AI

BaraBuddy AI is a smart, student-focused assistant designed to help learners manage their education more effectively. It offers features like AI-generated study plans, progress dashboards, flashcards, and quizzes — all tailored to boost study consistency and learning outcomes.

🎯 Project Overview

  • Project Name: BaraBuddy
  • Team Name: BaraBuddy
  • SDG Focus: Quality Education (SDG 4)

BaraBuddy is built to support students in managing their study habits through personalized recommendations, automated check-ins, and interactive learning features.

🌟 Features

  • 🧠 AI-Powered Study Assistant: Get instant help on your subjects
  • 📅 Smart Study Scheduler & Planner: Automatically plan your study time
  • 📊 Progress Dashboard: Track your learning and consistency
  • 📝 Interactive Flashcards & Auto-Quizzes: Boost memory with quick, smart quizzes
  • 🔔 Motivational Check-ins: Stay motivated with nudges and feedback

🛠 Tech Stack

  • Languages & Libraries: Python, OpenCV, scikit-learn, Keras, NumPy, Pandas
  • Development Tools: Jupyter Notebook, Anaconda
  • Frontend (optional): Streamlit / Flask (for UI)

💡 Problem Statement

Students often struggle with staying consistent, organizing their study routines, and reviewing effectively. BaraBuddy AI helps solve this by providing an intelligent, personalized tool that adapts to each student's progress, learning needs, and habits.

📁 Installation & Setup

🦫 Barabuddy AI – Local Model Setup Guide

This guide walks you through setting up and building the barabuddy-limited model locally using Ollama, starting from scratch—even if you’re new to the process.

Guide: Setting Up Open WebUI with a Custom Ollama Model (Windows)

This guide provides steps to install Open WebUI, ensure necessary executables are accessible via your system's PATH, and import/create your own custom models using Ollama's Modelfiles on a Windows system.

Note: This guide assumes you are using PowerShell for commands.

Prerequisites

  • Python 3.8 or higher: Required for installing Open WebUI via pip.
  • pip: The package installer for Python (usually comes with Python).
  • Ollama: The local large language model runner. Download and install the Windows version from ollama.com.

Step 1: Install Ollama

  1. Go to ollama.com/download.
  2. Download the Windows installer.
  3. Run the installer and follow the on-screen instructions.

Step 2: Download the model located at the top named:

studybara-1746964641402.json

After downloading proceed to Step 3

📁 Step 3: Create a Modelfile from File Explorer

  1. Navigate to the folder where you want to store your model, for example: C:\Users\YourName\Documents\Barabuddy

  2. Right-click inside the folder and select: New > Text Document

  3. Name the file exactly: Modelfile

⚠️ Important:

  • If you see Modelfile.txt, remove the .txt extension.
  • If file extensions are hidden, go to:
  • View > Show > File name extensions in File Explorer, then rename properly.

✍️ Step 4: Edit the Modelfile Contents

  1. Right-click Modelfile and choose Open with > Notepad
  2. Paste the following:
From llama3

PARAMETER temperature 0.0
PARAMETER top_p 0.8
PARAMETER num_ctx 2048

SYSTEM """
You are Barabuddy, an AI study assistant that responds strictly and only based on the information provided to you in <context></context> tags.

Your response instructions:
- Use ONLY the facts explicitly stated within <context>...</context>.
- If the answer is not found in the context, reply with: "I’m sorry, I don’t have that information."
- Do NOT guess, assume, or generate responses beyond the provided knowledge.
- Do NOT reference the context explicitly; just answer as if you already know.
- Maintain a helpful, accurate tone — but never speculate.

Examples:
Q: What is SDP?
<context>[SDP stands for Session Description Protocol]</context>
A: SDP stands for Session Description Protocol.

Q: What is Python?
<context>[No relevant information]</context>
A: I’m sorry, I don’t have that information.
"""

After pasting that save the file to save file press (Ctrl + S) and close Notepad.

Step 5: Open a Terminal Window (CMD or PowerShell)

Press Windows + R, type:

powershell

Then hit Enter.

Step 6: Navigate to your project folder:

eg..("C:\Users\YourName")

if its not there or you dont know where it is check where its located: in powershell paste:

dir

Step 7: Build the Model with Ollama

Run this command in powershell:

ollama create barabuddy-limited -f Modelfile

If successful, you'll see something like:

writing manifest

success

Step 8: Install Open WebUI

Open PowerShell and run the following command:

pip install open-webui
## To run open-webui
open-webui serve

To open open-webui key in in your google search:

http://localhost:8080

After installing Open-webui

  1. Sign in or create account for open-webui
  2. After signing in go to Workspace
  3. In Workspace import model studybara-1746546173743

Make sure to click into models and select the model Barabuddy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 111