greenintellect / README.md
Tanxshh's picture
Deploy GreenIntellect Backend API with ML models and scraping
02cc7f6
metadata
title: GreenIntellect API
emoji: ๐ŸŒฟ
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: mit

๐ŸŒฟ GreenIntellect API

AI-powered API for analyzing sustainability reports and detecting greenwashing.

API Endpoints

Endpoint Method Description
/api/ GET API health check
/api/analyze POST Analyze text for greenwashing
/api/upload POST Upload PDF for analysis
/api/requests GET Get analysis requests
/ GET API welcome message

Usage

import requests

# Analyze text
response = requests.post(
    "https://tanxshh-greenintellect.hf.space/api/analyze",
    json={"company_name": "Example Corp", "text": "Our sustainable practices..."}
)
print(response.json())

Features

  • ๐Ÿ“„ PDF/Text Analysis
  • ๐Ÿ” Greenwashing Detection
  • ๐Ÿ“Š Sentiment Analysis
  • ๐ŸŒ Web Scraping (News & Reviews)
  • ๐Ÿค– AI-powered Insights

Technology

  • FastAPI + Python 3.11
  • FinBERT & Sentence Transformers
  • Selenium + Chromium for scraping
  • SQLite Database

Built with โค๏ธ for a sustainable future