Skip to content

This is the Flask RESTful API for the AI part of the StudyMate app backend. The API provides three routes for summarizing a given pdf file, generating flashcards, and generating a quiz based on a given plain text.

Notifications You must be signed in to change notification settings

sidahmedsaleck/studymate-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudyMate AI Flask Rest Api.

Description

This is the Flask RESTful API for the AI part of the StudyMate app backend. The API provides three routes for summarizing a given pdf file, generating flashcards, and generating a quiz based on a given plain text.

API Reference

🏠 Home

  GET /

📕 Post A New Summary

  POST /generatesummary
Parameter Type Description
auth string "*". internal key for verifying the request
file string "*". the file to generate the summary from
fileName string "*". name of the file
lang string "*". lang of the file
tire string "*". tire of the final user

🃟 Post A New flashcards

  POST /generateflashcards
Parameter Type Description
auth string "*". internal key for verifying the request
longText string "*". the plain text to generate flashcards from
lang string "*". name of the file
tire string "*". tire of the final user

🤔 Post A New quiz

  POST /generatequiz
Parameter Type Description
auth string "*". internal key for verifying the request
longText string "*". the plain text to generate flashcards from
lang string "*". name of the file
tire string "*". tire of the final user

💻 Tech Stack

⦿ Flask

⦿ Tiktoken Library

⦿ Pdf2 pdfplumber

⦿ Openai GPT3.5 API

👤 Author

🌟 Sidi .A Houd

About

This is the Flask RESTful API for the AI part of the StudyMate app backend. The API provides three routes for summarizing a given pdf file, generating flashcards, and generating a quiz based on a given plain text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages