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

11 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.

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.

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 an API key of a openai compatible llm provider and insert them in .env File.

3.3 Set the provider url 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 2

  •  
  •  

Languages