Skip to content

Nun-Thee-Knee/CogniCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CogniCraft

AI BACKEND

RUNNING ON WSGI WEB SERVER

CogniCraft

https://cognicraft.onrender.com

Requirements: POSTMAN/ThunderClient

Although the UI for uploading the PDF is provided which is accessible through root directory "./"
If user wants to generate MCQ based on prompt then they can hit up the root directory "./data" and send the request via a json.
The format is given below:-

{
    "topic": "Your topic goes here",
    "number": "The number of MCQ you want"
}
RUNNING ON LOCAL SERVER
Clone the repository using following link:-

https://github.com/Nun-Thee-Knee/CogniCraft.git

Requirements: Any IDE, python, Terminal
Open the Terminal and type cd over to AI:-

cd AI

Now run the following command to install all the packages associated with the backend

pip install -r requirements.txt

After the installation is completed run the following command to start the service:

python main.py