Skip to content

SeattleDataAI-Hackathon/SDAIC-Hackathon-Team-5

Repository files navigation

tutor

AI Agents for Personalized Learning & Tutoring

Features

Feature Status Comment
Student modelingMultiple stupdents supported
Assess learning gaps and Assess knowledge retentionUsing quizzes
Multiple AI tutors for Different subjectsUsing the same agent, but supports multiple subjects
Different teaching stylesSuport for textbook and podcast style
Agents collaborateStudy guides are asynchronously updated on every quiz answer
Suggest interdisciplinary connections between topicsSetup to update topic study guides, but LLM to recommend which study guides to update is not implemented
Interactive exercisesSelecting text in study guide allows to ask questions about the selected text
Quizzes
Gamification elementsDifficulty level grows with every question answered correctly. Or it falls if question is answered incorrectly. Agent decides when and by how much to increase the level of difficulty given all the questions answered so far
Event-driven patternsStudy Guide Agent sends quiz answers to --> Study Progress summarizes weaknesses and user proficiency level --> Study Guide Agent generates new study guide and quiz questions best on weaknesses and user proficiency level
Agents maintain their state across eventsUsing in memory persistence, but maybe should use a database if time allows
Human interactionNeed to add explanations on study guide and hints on quiz
Integrate with existing process systemsPulling data from database to create study guide
Ethical implicationsNeed agents to double check errors or allow to report errors

Setup instructions

Pre-requisites

Setup Kafka and run the server

docker pull apache/kafka:4.0.0
docker run -p 9092:9092 apache/kafka:4.0.0

Copy the .env.sample to .env, and DON'T FORGET to fill it out. Currently I'm using only OpenAI models, so likely only need to fill out the OPENAI_API_KEY.

cp .env.sample .env

Running the app

pip install -r requirements.txt
python app.py   

Presentation

After clicking the link, click the download button at the top right corner. Link to the presentation Link to the demo

Architecture

Architecture Diagram

Obsolete Google Cloud instructions (Since I'm not using Google Cloud Services anymore should not be needed)

gcloud config set project <PROJECT_ID>
export PROJECT_ID=$(gcloud config get project)
export SERVICE_ACCOUNT_NAME=$(gcloud compute project-info describe --format="value(defaultServiceAccount)")
gcloud services enable compute.googleapis.com  \
                        aiplatform.googleapis.com \
                        secretmanager.googleapis.com \
                        cloudfunctions.googleapis.com

Setup Permissions:

gcloud projects add-iam-policy-binding $PROJECT_ID \
  --member="serviceAccount:$SERVICE_ACCOUNT_NAME" \
  --role="roles/aiplatform.user"

gcloud projects add-iam-policy-binding $PROJECT_ID \
  --member="serviceAccount:$SERVICE_ACCOUNT_NAME" \
  --role="roles/secretmanager.secretAccessor"

Generate a service account key:

gcloud iam service-accounts keys create key.json \
  --iam-account=$SERVICE_ACCOUNT_NAME

About

AI Agents for Personalized Learning & Tutoring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •