Skip to content

This Python script utilizes the Groq AI API to divide a topic into subtopics and generates complete courses for each subtopic. The program then leverages a Discord webhook to send the generated courses to a Discord server, making it easy to share and collaborate on educational content.

Notifications You must be signed in to change notification settings

LuisGot/ANYLearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This Python script utilizes the Groq AI API to divide a topic into subtopics and generates complete courses for each subtopic. The program then leverages a Discord webhook to send the generated courses to a Discord server, making it easy to share and collaborate on educational content.

Table of Contents

  1. Description
  2. Features
  3. Prerequisites
  4. Installation

Features

  • Interactive topic input and selection process.
  • Dynamic generation of subtopics based on user's interest and knowledge.
  • Generation of detailed courses with exercises for chosen subtopics.
  • Sending course information directly to Discord server via Webhook.

Prerequisites

Installation

1. Clone the repository
git clone https://github.com/LuisGot/ANYLearn.git
2. Install required Python packages
pip install -r requirements.txt
3. Setup environment variables

3.1 Rename .env.example file into .env.

mv .env.example .env

3.2 Generate a Groq API Key and Create a Discord Webhook and insert them in .env File

4. Run the script
python main.py

About

This Python script utilizes the Groq AI API to divide a topic into subtopics and generates complete courses for each subtopic. The program then leverages a Discord webhook to send the generated courses to a Discord server, making it easy to share and collaborate on educational content.

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages