Giter Site home page Giter Site logo

kvsnoufal / falcon_hackathon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anwarbabukm/falcon_hackathon

0.0 0.0 1.0 121 KB

This repo contains the backend code for the falcon hackathon

Home Page: https://falcon-hackathon-academai.vercel.app

Shell 0.99% Python 98.82% Procfile 0.18%

falcon_hackathon's Introduction

AcademAI

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.

Deployment

This code is deployed and can be accessed here: https://academai-0e2079b772fd.herokuapp.com/docs

Features

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

Endpoints

1. Root

  • GET /
    Returns a welcome message.

2. Generate Questions

  • GET /api/v1/academai/questions
    Generates questions based on the specified topic, subject, difficulty level, and number of questions.

    Parameters:

    • student_id: int
    • difficulty_level: str
    • questions: int (default = 1)
    • topic_name: str
    • subject: str

3. Evaluate Answers

  • POST /api/v1/academai/evaluate
    Evaluates student answers and returns a detailed breakdown of scores and feedback.

    Request Body:

    • student_id: int
    • subject: str
    • topic: str
    • answers: List of question_id and answer

4. Final Report

  • GET /api/v1/academai/final_report
    Returns a summary report including feedback and scores based on evaluated answers.

    Parameters:

    • student_id: int
    • subject: str

Setup & Installation

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

falcon_hackathon's People

Contributors

anwarbabukm avatar kvsnoufal avatar

Forkers

mqnifestkelvin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.