Skip to content

An AI-driven chatbot designed to help users master data structures and algorithms. Built with Next.js and styled with Material UI, the app delivers tailored responses through the GROQ AI API, ensures secure authentication with Clerk, and is deployed on Vercel.

Notifications You must be signed in to change notification settings

aryapatxl/DSA-ChatBot

Repository files navigation

AlgoBot: Data Structures and Algorithms AI ChatBot

Welcome to AlgoBot, your handy tool for all things Data Structures and Algorithms! This project is built using [Next.js], and it leverages AI to help users master a strong foundation on Computer Science topics. Our chatbot creates a welcoming learning environment and space to ask questions freely all in your hands. You can open our deployed application at https://dsa-chat-bot.vercel.app/.

Application Features

  • AI-Generated Responses: Automatically generates answers related to Data Structures and Algorithms based on the input text, topic, or question using AI.
  • Fast and Efficient Learning: Users receive answers to their questions immediately upon request.
  • Responsive Design: Optimized for both desktop and mobile devices.

ChatBot Abilities

  • 1.Explanations:
    • AlgoBot provides clear, concise, and rigorous explanations of various DSA concepts, including data structures (e.g., arrays, linked lists, stacks, queues, trees, graphs) and algorithms (e.g., sorting, searching, graph traversal, dynamic programming).
  • 2.Conceptual Understanding:
    • AlgoBot helps users grasp the underlying concepts and principles of DSA, rather than just providing step-by-step solutions. This helps users develop a deeper understanding of the topics.
  • 3.Example-Based Learning:
    • AlgoBot provides examples and illustrations to help users understand complex concepts and algorithms. These examples can be customized to fit specific user needs and learning styles.
  • 4.Practice Problems:
    • AlgoBot can generate practice problems and exercises to help users reinforce their understanding of DSA concepts. These problems can be tailored to specific topics, difficulty levels, and time limits.
  • 5.Code Snippets:
    • AlgoBot can provide code snippets in popular programming languages (e.g., Python, Java, C++) to help users implement DSA algorithms and data structures.
  • 6.Interview Preparation:
    • AlgoBot can assist users in preparing for technical interviews by providing tips, tricks, and strategies for common interview questions and challenges.
  • 7.Discussion Forum:
    • AlgoBot engages in discussions with users to help them clarify doubts, address misconceptions, and work through challenging problems.
  • 8.Customized Learning Path:
    • AlgoBot can help users create personalized learning plans and track their progress, ensuring they focus on the topics and skills that need improvement.
  • 9.Motivation and Encouragement:
    • AlgoBot is designed to be friendly, approachable, and encouraging, helping students stay motivated and engaged throughout their DSA learning journey.

Tech Stack

  • Next.js: React framework for building fast and user-friendly web applications.
  • Material UI: For UI design implementation.
  • GROQ API: For efficient querying of messages.
  • Clerk API: User authentication and management.
  • Vercel: Hosting and deployment of the Next.js application.

Getting Started

Prerequisites

Ensure you have the following installed on your local machine:

  • Node.js (version 14 or higher)
  • npm or yarn
  • Groq API Key
  • Clerk API Key

Installation

  1. Clone the repository:

    git clone https://github.com/aryapatxl/DSA-ChatBot
    cd DSA-ChatBot
    
  2. Install dependencies:

    npm install
    # or
    yarn install
    
  3. Set up environment variables: GROQ_API_KEY= your-groq-api-key NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-api-key CLERK_SECRET_KEY= your-clerk-secret-key

  4. Run the development server:

    npm run dev
     # or
    yarn dev
    

Usage

  • 1.Sign up or Sign in:
    • Securely sign up or sign in with GitHub, Google, Email address, or phone to proceed.
  • 2.Start Learning:
    • Enter a topic, question, or some text related to DSA.
    • The AI will generate a response based on the input.

About

An AI-driven chatbot designed to help users master data structures and algorithms. Built with Next.js and styled with Material UI, the app delivers tailored responses through the GROQ AI API, ensures secure authentication with Clerk, and is deployed on Vercel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •