LEARNSAGE: Personalized Learning for Everyone

LEARNSAGE: Personalized Learning for Everyone

Powered by Gemini, Langchain, Qdrant, AssemblyAI, Tavily and Streamlit

In the rapidly evolving landscape of education, one constant challenge remains: accommodating diverse learning styles. Enter LearnSage, an innovative AI-based learning assistant designed to transform educational content into formats tailored to individual preferences. Whether you're a visual learner, an auditory learner, or someone who thrives on hands-on experiences, LearnSage aims to make learning more effective, engaging, and enjoyable.


The Inspiration Behind LearnSage

As a lifelong learner, I've always found myself seeking out real-life examples and practical applications of the concepts I study. However, traditional learning materials often fall short, offering a one-size-fits-all approach that fails to resonate with every learner. This personal struggle inspired the creation of LearnSage, a tool that bridges the gap between conventional education methods and the unique needs of each student.


Identifying the Problem

Education, as it stands, typically delivers content in a uniform manner. Instructors and educational materials often cater to a single learning style, inadvertently sidelining students who might benefit from different approaches. This rigid structure can lead to disengagement and a lack of comprehension for many learners. The challenge, therefore, is to create a system that personalizes learning experiences to match individual preferences.


The Solution: LearnSage

LearnSage is an AI-driven learning assistant designed to personalize educational content. Leveraging the power of large language models (LLMs) and advanced APIs, LearnSage converts traditional learning materials into formats that align with the user's preferred learning style. Here's how LearnSage transforms the educational experience:

  1. Engagement Through Personalization. By adapting content to suit visual, auditory, or kinesthetic learners, LearnSage keeps students engaged and motivated.

  2. Comprehensive Learning Tools. Users can ask questions in their preferred learning format, analyze and interact with images and videos, and even upload their own documents for interactive reference.

  3. Integration with Modern Tools. LearnSage interacts with YouTube videos, supports voice input for questions, and provides audio outputs for answers, enhancing the learning experience.

  4. On-the-Fly Web Searches.During a learning session, users can perform quick web searches within the application, ensuring they have all the information they need at their fingertips.

  5. Report Generation and Summarization. Whether it's generating a comprehensive report on any topic or summarizing a learning session, LearnSage ensures that users have access to well-structured information with proper references.


Prototyping with Streamlit

The user interface of LearnSage has been prototyped using the Streamlit web application framework. This choice allows for a dynamic and interactive user experience, where learners can seamlessly transition from one component to another within a structured learning session. After each session, learners receive a summary of their studies, along with a Q&A section to reinforce their understanding.


Impact of LearnSage

LearnSage is more than just a learning tool; it's a solution designed to make education accessible and enjoyable for all. By catering to diverse learning styles, LearnSage ensures that students remain engaged, comprehend material more effectively, and ultimately perform better academically. This personalized approach represents a significant shift in how education can be delivered in the digital age.


The Tech Stack Behind LearnSage

The development of LearnSage relies on a robust and modern tech stack:

  • Google Gemini LLM API. For content generation and embedding creation.

  • Qdrant Vector Database. To store and retrieve personalized content efficiently.

  • LangChain Framework. Facilitates the development of LLM applications.

  • Streamlit. Powers the web application framework, enabling interactive user interfaces.

  • Talivy. Used for efficient web searching.

  • Assembly AI. Provides transcription services for voice input.

LearnSage is currently hosted on Streamlit Cloud for demonstration purposes here, but it can also be run locally.


How It Works

To get started with LearnSage, follow these steps;

  1. Get API Keys. Obtain your API keys from

  2. Upload Your Keys. Upload your API keys to personalize your learning experience.

  3. Choose Your Learning Style. Select the learning style that suits you best—visual, auditory, or kinesthetic.

  4. Select a Feature. Choose a feature from the sidebar, such as report generation or document interaction, and begin your learning journey.

  5. Begin Learning. Dive into personalized content and interact with the materials designed to enhance your understanding.


Running LearnSage Locally

To run LearnSage on your local machine;

  1. Clone the Repository.

     git clone https://github.com/Osen761/LearningSage.git
     cd learningsage
    
  2. Install Dependencies. Ensure you have Python installed, then run:

     pip install -r requirements.txt
    
  3. Create Configuration Folder.

     mkdir .streamlit
    
  4. Create secrets.toml File. Inside the .streamlit folder, create a secrets.toml file and store your API keys.

     GOOGLE_API_KEY = "YOUR_GOOGLE_AI_STUDIO_KEY"
     ASSEMBLYAI_API_KEY= "YOUR_ASSEMBLY_AI_KEY"
     TAVILY_API_KEY= "YOUR_TAVILY_KEY"
    
  5. Run the App.

     streamlit run User_interface.py
    

Replace the placeholder API keys with your actual keys and adjust any project-specific details as needed. LearnSage does not collect any user data at this stage.

It was deeveloped on Linux so If get problems on windows. please help me and raise them. I will work on them immediately



The Road Ahead

The next steps for LearnSage include developing a frontend using Flutter and deploying it in the cloud, making the application accessible from anywhere. Additionally, fine-tuning LLMs to better serve the purpose of personalized learning will be a priority.

LearnSage is poised to revolutionize the way we approach education, making it adaptable, personalized, and more effective for every learner. Join us on this journey to make learning a truly individualized experience.

For more detailed information, visit our blog at OsenInsights.

UI/UX Design Philosophy

The user interface (UI) and user experience (UX) design of LearnSage are centered around simplicity and functionality. The primary goal is to ensure that learners can navigate the application effortlessly and focus on their educational goals without unnecessary distractions.

Key Design Principles.

  1. Intuitive Navigation. The application features a clean, easy-to-navigate interface with a sidebar for selecting features such as report generation, document interaction, and quick summaries.

  2. Learning Session Structure. LearnSage organizes content into structured learning sessions where users interact with one component at a time. This focused approach enhances concentration and comprehension.

  3. Visual Consistency. Consistent use of colors, fonts, and icons throughout the application helps users quickly understand how to interact with different elements.

  4. Interactive Elements. Interactive components like quizzes, video interactions, and real-time web searches keep users engaged and active in their learning process.

  5. Personalization Options. Users can easily input their API keys, select their preferred learning styles, and customize their learning experiences to match their needs.

Real-World Usefulness

LearnSage's ability to adapt to various learning styles makes it a valuable tool for students, educators, and lifelong learners. By providing personalized educational content, LearnSage addresses the diverse needs of users, making learning more effective and enjoyable. Whether it's a student struggling with traditional teaching methods or a professional looking to upskill, LearnSage offers tailored solutions to enhance learning outcomes.

Future Enhancements

The development of LearnSage is an ongoing process with several exciting features planned for future releases;

  1. Enhanced Learning Analytics: Implementing advanced analytics to track user progress, identify areas of improvement, and provide actionable insights.

  2. Multilingual Support: Expanding the application to support multiple languages, making it accessible to a broader audience worldwide.

  3. Offline Mode: Allowing users to download learning materials and interact with them offline, ensuring uninterrupted learning.

  4. Collaborative Learning: Enabling users to collaborate on projects, share notes, and participate in group discussions within the app.

Community and Collaboration

LearnSage thrives on community feedback and collaboration. By engaging with educators, students, and tech enthusiasts, we continuously refine and improve the platform. Share your experiences, suggest new features, and help shape the future of personalized learning.

Conclusion

LearnSage represents a significant advancement in the field of education technology. By leveraging AI and modern development frameworks, LearnSage provides a personalized learning experience that caters to the unique needs of each learner. With its intuitive design, comprehensive feature set, and ongoing commitment to improvement, LearnSage is poised to become an essential tool for anyone looking to enhance their learning journey.