Skip to content

Utilizes AI for classification, stores requests and predictions, and offers a history of past classifications.

License

Notifications You must be signed in to change notification settings

balaji-sivasakthi/InfoSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered News Article Classifier

Description:

This web application classifies news articles into categories, tracks past classification requests, and provides users with insights into article categorization. It takes a news article URL as input, scrapes the article content, predicts its category using an AI model, stores the request and prediction in a database and displays the predicted category along with a history of past classification requests.

Preview

Table of Contents

Getting Started

Begin by setting up and running the project on your local machine.

Prerequisites

Before you begin, ensure you have the following prerequisites installed:

  • Nodejs
  • Python

Installation

Follow these steps to get the project up and running:

  1. Server

      cd server
      pip install -r requirements.txt
      uvicorn main:app --reload
    
  2. Client

     cd client
     npm install
     npm run dev
    

Usage

To use the application:

  1. Navigate to the application's URL.
  2. Input a news article URL and submit the form.
  3. The application will scrape the article, predict its category, and display the result.
  4. Explore the history section to view past classification requests.

Features

  • News Classification: Automatically categorize news articles into predefined categories.
  • Interactive Web Interface: User-friendly React frontend for input and results.
  • Machine Learning: Utilizes AI models for article categorization.
  • Database Storage: Stores article requests and predictions for historical tracking.
  • History Viewer: Displays a history of past classification requests.

Architecture

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Utilizes AI for classification, stores requests and predictions, and offers a history of past classifications.

Topics

Resources

License

Stars

Watchers

Forks