--- 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 ```python 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