Spaces:
Sleeping
Sleeping
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