Skip to content

This project is an information retrieval system using TF-IDF vectorization

Notifications You must be signed in to change notification settings

MrAHMED14/retrieve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

About This Project

This project is a information retrieval system that allows users to upload and search documents (PDF & TXT files). It uses TF-IDF vectorization for efficient information retrieval. The backend is built with Flask, while the frontend is built with Next.js.

Prerequisites

Ensure you have the following installed:

API Endpoints

Upload Files

  • Endpoint: POST /upload
  • Description: Uploads PDF and TXT files.
  • Usage:
curl -X POST -F "file=@document.pdf" http://127.0.0.1:5000/upload

Search Documents

  • Endpoint: GET /search?q=<query>
  • Description: Searches for a keyword in the uploaded files.
  • Usage:
curl -X GET "http://127.0.0.1:5000/search?q=information"

Contributing

Feel free to submit issues or pull requests to improve this project!

About

This project is an information retrieval system using TF-IDF vectorization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published