Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.51 KB

File metadata and controls

41 lines (26 loc) · 1.51 KB

LecGen AI - API Documentation

This project uses FastAPI, which automatically generates interactive documentation based on the code.

🌐 Live Documentation

When the backend server is running, you can access the documentation at these local URLs:

📂 Source Code Location

The documentation logic (endpoints, docstrings, and tags) is located in: api/main.py

🚀 Key API Endpoints

1. Lecture Processing (/process/...)

  • POST /process/youtube: Submits a YouTube link for transcription and analysis.
  • POST /process/file: Uploads media files (MP4, MP3, etc.) for processing.
  • POST /process/text: Processes raw notes into structured study guides.

2. History Management (/history/...)

  • GET /history: Lists all previous successful analyses.
  • GET /history/download/{task_id}: Downloads the result as a JSON file.
  • DELETE /history/{task_id}: Removes an entry from the history.

3. Exam Prep (/analyze/pyq)

  • POST /analyze/pyq: Analyzes Previous Year Question papers from files or Google Drive links.

🛠️ Technology Stack

  • Engine: FastAPI (Python)
  • Documentation Standard: OpenAPI 3.0
  • Interactive UI: Swagger UI / ReDoc