Skip to content

DocBuddy is a Flask web app that lets users upload and interact with PDF files by summarizing content, suggesting keywords, and providing a basic Q&A feature, all through an intuitive interface.

Notifications You must be signed in to change notification settings

codeasarjun/docBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

DocBuddy is a Flask-based web application that allows users to upload PDF files, view their content, summarize the text, suggest keywords, and interact with a dummy Q&A feature. The application provides a user-friendly interface with various tabs to explore different aspects of the uploaded document.

Features

  • Upload PDF Files: Upload and process PDF files to extract and display content.
  • View Original Content: See the raw text extracted from the PDF.
  • Summarize Content: Get a summarized version of the text.
  • Suggested Keywords: View keywords suggested from the document's content.
  • Chat: Interact with a dummy Q&A feature to ask questions related to the document.
  • PDF Viewer: View the uploaded PDF directly in the browser.

Project Structure

  • app.py: The main Flask application script.
  • core/:
    • functionality.py: Contains the core functions for text summarization, keyword suggestion, and dummy Q&A.
  • templates/:
    • upload.html: The file upload form template.
    • tabs.html: The main view template with tabs for content display.
  • static/:
    • upload.css: CSS styles for the file upload form.
    • tabs.css: CSS styles for the main view template.

Installation

Prerequisites

  • Python 3.7+
  • pip (Python package installer)

Output