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