{"id":26316860,"url":"https://github.com/adityasworks/ai_teaching_assistant","last_synced_at":"2025-03-15T13:17:07.126Z","repository":{"id":280304327,"uuid":"941259560","full_name":"AdityasWorks/ai_teaching_assistant","owner":"AdityasWorks","description":"AI powered Teaching Assistant which helps in learning DSA","archived":false,"fork":false,"pushed_at":"2025-03-02T16:05:05.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T16:33:22.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdityasWorks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-01T21:31:43.000Z","updated_at":"2025-03-02T16:05:09.000Z","dependencies_parsed_at":"2025-03-02T16:33:23.494Z","dependency_job_id":"d8f4c893-30f9-439f-b4b7-bb9a851d8ff4","html_url":"https://github.com/AdityasWorks/ai_teaching_assistant","commit_stats":null,"previous_names":["adityasworks/ai_teaching_assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityasWorks%2Fai_teaching_assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityasWorks%2Fai_teaching_assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityasWorks%2Fai_teaching_assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityasWorks%2Fai_teaching_assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityasWorks","download_url":"https://codeload.github.com/AdityasWorks/ai_teaching_assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732222,"owners_count":20338839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-15T13:17:06.554Z","updated_at":"2025-03-15T13:17:07.113Z","avatar_url":"https://github.com/AdityasWorks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Teaching Assistant  \n\n## Overview  \nThe **AI Teaching Assistant** is a chat-based application designed to help users understand **Data Structures and Algorithms (DSA)** problems. It allows users to submit **LeetCode problem links** along with their queries, and the assistant provides guidance, hints, and conceptual explanations using an **LLM (like GPT or Gemini)**—without directly giving away the solution.  \n\n## Live Demo  \nCheck out the live version of the AI Teaching Assistant: [AI Teaching Assistant](https://ai-teaching-assistant-jck3.vercel.app/)  \n\n## Features  \n- 📌 **Chat Interface**: Users can ask questions about DSA problems in a friendly, conversational UI.  \n- 🔗 **LeetCode Link Support**: Users can paste a **LeetCode problem link**, and the assistant will tailor its guidance accordingly.  \n- 🤖 **LLM Integration**: Uses GPT/Gemini to generate responses focused on **hints, intuition-building, and problem-solving approaches**.  \n- ⏳ **Progressive Hints System**:  \n  - High-level strategy hints  \n  - Algorithmic approach hints  \n  - Framework for problem-solving  \n  - Pseudocode (only if necessary)  \n- 🚀 **Encouraging Learning**: Helps users reflect on their approach, time complexity, and problem-solving strategies.  \n\n## Tech Stack  \n- **Frontend**: React.js  \n- **Backend**: Node.js (or any API handling the LLM interaction)  \n- **LLM Integration**: OpenAI GPT / Google Gemini API  \n\n## Setup Instructions  \n### 1️⃣ Clone the Repository  \n```sh  \ngit clone https://github.com/AdityasWorks/ai-teaching-assistant.git  \ncd ai-teaching-assistant  \n```\n### 2️⃣ Install Dependencies  \n```sh  \nnpm install  \n```\n### 3️⃣ Set Up API Keys  \nCreate a `.env` file in the project root and add:  \n```sh  \nVITE_GEMINI_API=your_llm_api_key  \n```\n### 4️⃣ Start the Application  \n```sh  \nnpm run dev  \n```\nThe app will run at `http://localhost:3000/`.  \n\n## How It Works  \n1. **User enters a DSA question** or pastes a **LeetCode link** in the input box.  \n2. **LLM processes the query** and provides **hints, strategies, and thought-provoking questions** instead of direct answers.  \n3. The assistant encourages **problem-solving reflection** to enhance learning.  \n4. Users can **continue the conversation** for further clarification.  \n\n## Example Prompt Behavior  \nIf a user submits the **House Robber Problem (LeetCode 198)**, the assistant might respond with:  \n✅ **\"This problem is about Dynamic Programming. Can you think of a way to break it down into smaller subproblems?\"**  \n✅ **\"Have you considered storing previous results to avoid recomputation?\"**  \n✅ **\"Try solving it with recursion first. What happens if you memoize the results?\"**  \n\nInstead of just providing the DP solution outright.  \n\n## Contribution  \nFeel free to fork the repo and submit pull requests! 🚀  \n\n## License  \nMIT License  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityasworks%2Fai_teaching_assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityasworks%2Fai_teaching_assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityasworks%2Fai_teaching_assistant/lists"}