AcademAI is a FastAPI-based application that generates and evaluates educational questions and answers for students. The app uses LLM model to assess student responses on conceptual understanding, problem-solving, and clarity of expression.
This code is deployed and can be accessed here: https://academai-0e2079b772fd.herokuapp.com/docs
- Generate Questions: Generate customized questions based on topic, difficulty level, and subject.
- Evaluate Answers: Assess student answers using a machine learning model to provide scores and detailed feedback.
- Final Report: Generate a final report summarizing the student's performance, including overall percentage scores and topic-wise marks.
- GET /
Returns a welcome message.
-
GET /api/v1/academai/questions
Generates questions based on the specified topic, subject, difficulty level, and number of questions.Parameters:
student_id
: intdifficulty_level
: strquestions
: int (default = 1)topic_name
: strsubject
: str
-
POST /api/v1/academai/evaluate
Evaluates student answers and returns a detailed breakdown of scores and feedback.Request Body:
student_id
: intsubject
: strtopic
: stranswers
: List ofquestion_id
andanswer
-
GET /api/v1/academai/final_report
Returns a summary report including feedback and scores based on evaluated answers.Parameters:
student_id
: intsubject
: str
1. git clone https://github.com/anwarbabukm/falcon_hackathon.git
2. cd falcon_hackathon
3. python -m venv venv
4. source venv/bin/activate
3. pip install -r requirements.txt
4. uvicorn app:app --reload
5. Access the API at http://localhost:8000.
Or
Run the below commoand to run the app
source init_setup.sh