Skip to content

AI-Tutor : LLM and RAG-Enhanced AI Tutoring for Various Courses

License

Notifications You must be signed in to change notification settings

AbhinavSharma07/AI-Tutor

Repository files navigation

AI-Tutor: Customized AI Tutoring for Diverse Academic Courses

AI_Tutor

Overview

AI-Tutor is an educational web application that leverages the latest OpenAI's Assistant API and Retrieval-Augmented Generation (RAG) techniques to deliver customized tutoring across a wide range of academic subjects. It adapts dynamically to specific course content, providing a personalized and interactive learning experience.

Core Features

  • Adaptive Learning: Upload course-specific materials to tailor AI responses to particular subjects or topics.
  • Enhanced Accuracy: Mitigates information hallucination by validating AI responses with reliable data sources.
  • User-Friendly Interface: Streamlit-based UI for an intuitive and smooth user experience.
  • Data Privacy and Security: Built with a focus on compliance with OpenAI's data protection policies.

Technical Stack

  • Technologies: Python, Streamlit, OpenAI's Assistants API, Retrieval-Augmented Generation (RAG).
  • Platform: Hosted on Streamlit Community Cloud for free public access.
  • Data Handling: Incorporates intelligent handling of uploaded course materials to enrich tutoring content.

Methodology

AI-Tutor utilizes a combination of AI-driven technologies to deliver a robust educational experience:

  • LLM Integration: OpenAI’s LLM enables the app to understand complex queries and generate responses that are both context-aware and informative.
  • RAG for Enhanced Learning:
    • Grounded Responses: RAG supplements AI's built-in knowledge by retrieving relevant information from external sources, ensuring responses are accurate and contextually relevant.
    • Reduced Information Hallucination: By cross-checking AI-generated content with trusted data sources, AI-Tutor minimizes misinformation.
    • Dynamic Tutoring: Adapts to different courses, providing unique and tailored responses to diverse educational needs.
Method

Web App Components

  • Sidebar Options:
    • Delete uploaded course materials.
    • Download Q&A transcripts in HTML format.
  • Main Interface:
    • Input for OpenAI API Key.
    • Upload functionality for course materials.
    • Interactive Q&A section for engaging with the AI.
    • Real-time display and archive of question-answer history.
AI_Tutor

Getting Started

  1. API Configuration: Input your OpenAI API Key in the designated field.
  2. Material Upload: Upload relevant course documents to customize the tutoring experience.
  3. Engage with the AI: Start asking questions and receive personalized answers.
  4. Transcript Download: Save the Q&A session as an HTML file for future reference.

Key Benefits

  • Personalized Learning: AI-Tutor's tailored responses make learning more effective and engaging.
  • Accurate, Updated Information: Leveraging RAG ensures current and precise content delivery.
  • Broad Application: Suitable for various educational disciplines and subjects.
  • Data Security: Committed to protecting user data in line with OpenAI’s security standards.
  • Seamless Interaction: Provides an interactive platform for real-time question-and-answer sessions.

Future Enhancements

  • Advanced Analytics: Integrating learning analytics to track user progress.
  • Multilingual Support: Expanding AI capabilities to support different languages.
  • Mobile Optimization: Optimizing the app for mobile devices.

References


About

AI-Tutor : LLM and RAG-Enhanced AI Tutoring for Various Courses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages